:root {
  --bg: #060b16;
  --ink: #f4f7ff;
  --muted: #a8b7ce;
  --cyan: #42e0ff;
  --orange: #ff8b2b;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --stroke: rgba(180, 210, 255, 0.16);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 420px;
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(66, 224, 255, 0.16), transparent 58%),
    radial-gradient(700px 420px at 100% 30%, rgba(255, 139, 43, 0.12), transparent 55%),
    linear-gradient(180deg, #0a1424 0%, #060b16 48%, #050910 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 12s ease-in-out infinite;
}

.blob--a {
  width: 260px;
  height: 260px;
  top: 12%;
  left: -90px;
  background: rgba(66, 224, 255, 0.28);
}

.blob--b {
  width: 240px;
  height: 240px;
  right: -80px;
  top: 42%;
  background: rgba(255, 139, 43, 0.22);
  animation-delay: -5s;
}

.orbit--bg {
  position: absolute;
  width: min(520px, 125vw);
  aspect-ratio: 1;
  left: 50%;
  top: 18px;
  translate: -50% 0;
  border-radius: 50%;
  border: 1px solid rgba(66, 224, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 139, 43, 0.07) inset,
    0 0 70px rgba(66, 224, 255, 0.06);
  animation: spin 32s linear infinite;
  opacity: 0.7;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.page {
  width: min(100% - 1.4rem, var(--max));
  margin: 0 auto;
  padding: 2.2rem 0 2.4rem;
}

.hero {
  text-align: center;
  margin-bottom: 1.65rem;
}

.avatar-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.orbit--outer {
  border: 1px solid rgba(66, 224, 255, 0.35);
  box-shadow: 0 0 24px rgba(66, 224, 255, 0.12);
  animation: spin 14s linear infinite;
}

.orbit--inner {
  inset: 14px;
  border: 1px dashed rgba(255, 139, 43, 0.4);
  animation: spin-rev 10s linear infinite;
}

.spark {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  translate: -50% -50%;
}

.spark--cyan {
  left: 0;
  background: var(--cyan);
  box-shadow:
    0 0 10px var(--cyan),
    0 0 22px rgba(66, 224, 255, 0.7);
}

.spark--orange {
  left: 100%;
  background: var(--orange);
  box-shadow:
    0 0 10px var(--orange),
    0 0 22px rgba(255, 139, 43, 0.7);
}

.orbit--inner .spark--orange {
  left: 0;
}

.orbit--inner .spark--cyan {
  left: 100%;
}

.orbit--bg .spark {
  width: 8px;
  height: 8px;
}

.avatar {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(140deg, rgba(66, 224, 255, 0.95), rgba(255, 139, 43, 0.8));
  box-shadow:
    0 0 0 8px rgba(66, 224, 255, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.35);
  animation: pulse-glow 3.6s ease-in-out infinite;
  transition: transform 0.35s ease;
}

.avatar-wrap:hover .avatar {
  transform: scale(1.04);
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #060b16;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 7.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(110deg, #ffffff 12%, #9eebff 52%, #ffc089 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 7s ease-in-out infinite;
}

.hero__tag {
  margin: 0.7rem auto 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.links {
  display: grid;
  gap: 0.75rem;
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 74px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 48%,
    transparent 66%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.card:hover::before,
.card:focus-visible::before {
  transform: translateX(120%);
}

.card:hover,
.card:focus-visible {
  transform: translateY(-4px) scale(1.015);
  background: var(--glass-strong);
  outline: none;
}

.card:active {
  transform: translateY(-1px) scale(0.995);
}

.card--wa:hover,
.card--wa:focus-visible {
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.16);
}

.card--ig:hover,
.card--ig:focus-visible {
  border-color: rgba(214, 36, 159, 0.5);
  box-shadow: 0 16px 34px rgba(214, 36, 159, 0.14);
}

.card--mail:hover,
.card--mail:focus-visible {
  border-color: rgba(234, 67, 53, 0.5);
  box-shadow: 0 16px 34px rgba(234, 67, 53, 0.12);
}

.card--featured {
  min-height: 88px;
  background:
    linear-gradient(135deg, rgba(255, 214, 230, 0.08), rgba(200, 180, 255, 0.08)),
    var(--glass);
  border-color: rgba(230, 190, 255, 0.28);
}

.card--featured:hover,
.card--featured:focus-visible {
  border-color: rgba(255, 180, 220, 0.55);
  box-shadow: 0 18px 38px rgba(180, 140, 255, 0.18);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.28s ease;
}

.card:hover .card__icon,
.card:focus-visible .card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.card__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.card__icon--photo {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: #fff;
  box-shadow: 0 0 20px rgba(255, 180, 220, 0.25);
}

.card__icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card--featured:hover .card__icon--photo img,
.card--featured:focus-visible .card__icon--photo img {
  transform: scale(1.08);
}

.card__body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.card__body strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card__body small {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__badge {
  position: absolute;
  top: 0.7rem;
  right: 2.4rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a1830;
  background: linear-gradient(120deg, #ffd6e8, #d8c4ff);
  transition: transform 0.28s ease;
}

.card--featured:hover .card__badge,
.card--featured:focus-visible .card__badge {
  transform: scale(1.06);
}

.card__go {
  color: var(--cyan);
  font-size: 1.05rem;
  opacity: 0;
  transform: translate(-6px, 4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.card:hover .card__go,
.card:focus-visible .card__go {
  opacity: 0.9;
  transform: translate(0, 0);
}

.cta {
  margin-top: 1.25rem;
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255, 139, 43, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 139, 43, 0.14), rgba(66, 224, 255, 0.06)),
    rgba(255, 255, 255, 0.03);
}

.cta p {
  margin: 0 0 0.85rem;
  color: #d7e4f7;
  font-size: 0.95rem;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a0d02;
  background: linear-gradient(110deg, #ff8b2b, #ffc06a);
  background-size: 160% 100%;
  box-shadow: 0 10px 24px rgba(255, 139, 43, 0.28);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-position 0.35s ease;
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.cta__btn:hover,
.cta__btn:focus-visible {
  transform: translateY(-3px) scale(1.03);
  background-position: 100% 0;
  box-shadow: 0 16px 30px rgba(255, 139, 43, 0.4);
  outline: none;
  animation: none;
}

.footer {
  margin-top: 1.6rem;
  text-align: center;
  color: #7f91a8;
  font-size: 0.78rem;
}

.footer p {
  margin: 0;
}

/* Entrada escalonada */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(4px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-rev {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(16px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 8px rgba(66, 224, 255, 0.08),
      0 16px 36px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(255, 139, 43, 0.1),
      0 18px 42px rgba(66, 224, 255, 0.18);
  }
}

@keyframes sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(255, 139, 43, 0.28);
  }
  50% {
    box-shadow: 0 12px 30px rgba(255, 139, 43, 0.45);
  }
}

@media (min-width: 720px) {
  :root {
    --max: 460px;
  }

  .page {
    padding-top: 2.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
