/* ============================================================
   Emi Moon — Espacio privado (link hub)
   Dirección visual: Dark Luxury con acento neón (Noir Blush)
   ============================================================ */

:root {
  --bg: #0b0b0f;
  --bg-deep: #1f1b22;
  --ink: #f4f1f6;
  --ink-soft: #b3adbb;
  --ink-mute: #6f6a77;
  --accent: #ff4f9a;
  --accent-soft: #ffb6d5;
  --line: rgba(244, 241, 246, 0.1);
  --card: rgba(255, 255, 255, 0.03);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(80% 50% at 50% 8%, rgba(255, 79, 154, 0.1) 0%, rgba(255, 79, 154, 0) 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }

/* ---------- Layout ---------- */
.hub {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 2rem);
}
.hub__inner {
  width: 100%;
  max-width: 480px;
  text-align: center;
  animation: rise 0.9s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Avatar ---------- */
.hub__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #241a20 0%, #120e14 100%);
  border: 1px solid rgba(255, 182, 213, 0.25);
  box-shadow: 0 0 40px rgba(255, 79, 154, 0.28);
}
.hub__avatar span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--accent-soft);
}

/* ---------- Reglas ---------- */
.hub__rule {
  display: block;
  width: 44px;
  height: 1px;
  margin: 1.6rem auto;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}
.hub__rule--foot { margin: 2.4rem auto 1.2rem; }

/* ---------- Identidad ---------- */
.hub__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 0.7rem;
  color: var(--ink);
}
.hub__name em {
  font-style: italic;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(255, 79, 154, 0.4);
}
.hub__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 clamp(2rem, 6vh, 3rem);
}

/* ---------- Cards de enlace ---------- */
.hub__links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.link-card:hover {
  background: rgba(255, 79, 154, 0.06);
  border-color: rgba(255, 182, 213, 0.4);
  box-shadow: 0 0 30px rgba(255, 79, 154, 0.22);
  transform: translateY(-2px);
}
.link-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.link-card__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 79, 154, 0.1);
  border: 1px solid rgba(255, 182, 213, 0.25);
  color: var(--accent-soft);
}
.link-card__icon svg { width: 20px; height: 20px; }
.link-card__body {
  flex: 1;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.link-card__title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}
.link-card__sub {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.3;
}
.link-card__chevron {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--ink-mute);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.link-card:hover .link-card__chevron {
  color: var(--accent-soft);
  transform: translateX(3px);
}

/* ---------- Footer ---------- */
.hub__copy {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1.6rem;
}
.hub__rta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-mute);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.hub__rta:hover {
  border-color: rgba(255, 182, 213, 0.4);
  color: var(--ink-soft);
}
.hub__rta-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
}
.hub__rta-text {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
@media (max-width: 400px) {
  .hub__rta-text { display: none; }
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
  .hub__inner { animation: none; }
  .link-card, .link-card__chevron { transition: none; }
}
