:root {
  --bg: #0a0712;
  --bg-soft: #130e1c;
  /* Paleta de Instagram, en el orden de su degrade */
  --ig-yellow: #ffd600;
  --ig-orange: #ff7a00;
  --ig-pink: #ff0069;
  --ig-magenta: #d300c5;
  --ig-purple: #7638fa;
  --ig-pink-soft: #ff7eb0;
  --ig-gradient: linear-gradient(
    100deg,
    var(--ig-yellow) 0%,
    var(--ig-orange) 18%,
    var(--ig-pink) 45%,
    var(--ig-magenta) 72%,
    var(--ig-purple) 100%
  );
  /* Sin el amarillo: para fondos con texto blanco encima */
  --ig-gradient-deep: linear-gradient(
    100deg,
    var(--ig-orange) 0%,
    var(--ig-pink) 40%,
    var(--ig-magenta) 72%,
    var(--ig-purple) 100%
  );
  --text: #f6f3fb;
  --muted: #a39cb6;
  --line: rgba(255, 255, 255, 0.09);
  --panel: rgba(255, 255, 255, 0.035);
  --radius: 26px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 20px;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ---------- Fondo ambiental ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.orb--warm {
  width: 46vmax;
  height: 46vmax;
  top: -20vmax;
  right: -16vmax;
  background: radial-gradient(circle, rgba(255, 0, 105, 0.42), rgba(255, 122, 0, 0.16) 45%, transparent 68%);
  animation: drift-a 16s ease-in-out infinite;
}

.orb--cool {
  width: 40vmax;
  height: 40vmax;
  bottom: -18vmax;
  left: -14vmax;
  background: radial-gradient(circle, rgba(118, 56, 250, 0.45), rgba(211, 0, 197, 0.16) 45%, transparent 68%);
  animation: drift-b 20s ease-in-out infinite;
}

.veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(180deg, transparent 40%, rgba(10, 7, 18, 0.85) 100%);
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-5vmax, 4vmax, 0) scale(1.08); }
}

@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5vmax, -4vmax, 0) scale(1.1); }
}

/* ---------- Layout ---------- */

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(19, 14, 28, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 70px -30px rgba(0, 0, 0, 0.9);
  animation: rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Badge ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 0, 105, 0.4);
  border-radius: 999px;
  background: rgba(255, 0, 105, 0.1);
  color: var(--ig-pink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ig-pink);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 105, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(255, 0, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 105, 0); }
}

/* ---------- Avatar ---------- */

/* Aro tipo "historia" de Instagram: degrade + un borde oscuro entre el aro y
   la foto. */
.avatar {
  position: relative;
  width: 138px;
  height: 138px;
  margin: 24px 0 22px;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(
    from 0deg,
    var(--ig-yellow),
    var(--ig-orange),
    var(--ig-pink),
    var(--ig-magenta),
    var(--ig-purple),
    var(--ig-yellow)
  );
  animation: spin 7s linear infinite;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 105, 0.3), transparent 70%);
  z-index: -1;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid var(--bg-soft);
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
  animation: spin 7s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Texto ---------- */

.title {
  font-size: clamp(1.85rem, 7.5vw, 2.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.title__accent {
  display: block;
  background: linear-gradient(100deg, var(--ig-orange), var(--ig-pink) 40%, var(--ig-magenta) 72%, #9b6bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 34ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Promo ---------- */

.promo {
  width: 100%;
  margin-top: 22px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 0, 105, 0.42);
  border-radius: 20px;
  background: rgba(255, 0, 105, 0.06);
  box-shadow: 0 0 34px -14px rgba(255, 0, 105, 0.55);
}

.promo__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 13px;
  background: var(--ig-gradient-deep);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.promo__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 14px;
  list-style: none;
  text-align: left;
}

.promo__item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d8d0e6;
  font-size: 0.86rem;
  font-weight: 600;
}

.promo__icon {
  flex: none;
  width: 20px;
  text-align: center;
  color: var(--ig-pink-soft);
  font-size: 1rem;
}

.promo__highlight {
  padding: 3px 10px;
  border: 1px solid rgba(255, 0, 105, 0.5);
  border-radius: 8px;
  background: rgba(255, 0, 105, 0.12);
  color: var(--ig-pink-soft);
  font-weight: 700;
}

/* ---------- Boton principal ---------- */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 28px 0 12px;
  padding: 19px 26px;
  border-radius: 16px;
  background: var(--ig-gradient);
  color: #fff;
  font-family: inherit;
  font-size: clamp(1rem, 4.8vw, 1.18rem);
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 14px 34px -12px rgba(255, 0, 105, 0.85);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
  animation: heartbeat 2.6s ease-in-out infinite;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.4s ease-in-out infinite;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 20px 44px -12px rgba(211, 0, 197, 0.95);
}

.cta:active {
  transform: translateY(0) scale(0.99);
}

.cta__icon {
  width: 24px;
  height: 24px;
  flex: none;
  transition: transform 0.2s ease;
}

.cta:hover .cta__icon {
  transform: scale(1.12) rotate(-6deg);
}

/* En una sola linea aunque el celu sea angosto */
.cta__text {
  white-space: nowrap;
}

@keyframes shine {
  0%, 62% { left: -60%; }
  100% { left: 130%; }
}

@keyframes heartbeat {
  0%, 100% { scale: 1; }
  50% { scale: 1.025; }
}

.hint {
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.78rem;
}

/* El mensaje que se copia, con pinta de burbuja de chat */
.hint__msg {
  display: inline-block;
  margin: 2px 2px;
  padding: 1px 10px;
  border-radius: 999px;
  background: rgba(211, 0, 197, 0.16);
  color: #f2b8ff;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 26px;
  list-style: none;
}

.feature {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  color: #d8d0e6;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
}

.feature svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--ig-pink);
}

/* Cada icono toma un tramo del degrade */
.feature:nth-child(1) svg { color: var(--ig-orange); }
.feature:nth-child(2) svg { color: var(--ig-pink); }
.feature:nth-child(3) svg { color: #e33bd6; }
.feature:nth-child(4) svg { color: #9b6bff; }

/* ---------- Footer ---------- */

.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #756e89;
  font-size: 0.71rem;
}

.foot__age {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #b0a9c4;
  font-size: 0.66rem;
  font-weight: 700;
}

/* ---------- Figura de escritorio ---------- */

.stage {
  display: none;
}

@media (min-width: 1000px) {
  .shell {
    max-width: 1040px;
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
  }

  /* En pantallas anchas el alto manda: compactamos para que entre sin scroll. */
  .panel {
    padding: 30px 34px 24px;
  }

  .avatar {
    width: 108px;
    height: 108px;
    margin: 18px 0 16px;
  }

  .cta {
    margin: 22px 0 10px;
    padding: 17px 24px;
  }

  .features {
    margin-top: 20px;
  }

  .foot {
    margin-top: 20px;
    padding-top: 14px;
  }

  .stage {
    position: relative;
    display: grid;
    place-items: center;
    height: 560px;
  }

  .stage__glow {
    position: absolute;
    bottom: 60px;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 105, 0.24), rgba(118, 56, 250, 0.14) 45%, transparent 68%);
  }

  .stage__figure {
    position: relative;
    width: min(100%, 440px);
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
  }

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

/* ---------- Accesibilidad ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
