/* Portada de enlaces · Aroa. Independiente de Yoga y Sankalpa. */
:root {
  color-scheme: light;
  --ink: #353f34;
  --paper: #c6ccb3;
  --olive: #4b533a;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 20px;
  background: linear-gradient(120deg, #bac7a5, #d4c1a1);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

/* Two oversized layers fill the entire viewport: no circular outlines or white gaps. */
.ambient span {
  position: absolute;
  inset: -160px;
  background: linear-gradient(120deg, #91a879 0%, #b7c4a2 35%, #d8c09e 68%, #b3c19b 100%);
  filter: blur(65px);
  animation: aura-drift 20s ease-in-out infinite alternate;
}

.ambient span+span {
  background: linear-gradient(35deg, #cdb28d 0%, #c0c9a9 36%, #90a977 72%, #d6bd9c 100%);
  animation: aura-blend 24s ease-in-out infinite alternate;
}

@keyframes aura-drift {
  from {
    transform: translate3d(-3%, -2%, 0) scale(1.02);
  }

  to {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}

@keyframes aura-blend {
  from {
    opacity: .12;
    transform: translate3d(2%, -2%, 0);
  }

  to {
    opacity: .72;
    transform: translate3d(-2%, 2%, 0);
  }
}

.hub {
  position: relative;
  width: min(100%, 530px);
  z-index: 1;
}

.profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 5px 24px;
}

.portrait {
  display: block;
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 50%;
  border: 4px solid #f9f8f0;
  box-shadow: 0 0 0 1px #88957836;
}

h1 {
  margin: 0;
  font: 400 60px/.98 Georgia, serif;
  letter-spacing: -.055em;
}

.profile h1 span {
  display: inline-block;
  margin-left: 10px;
  font: 10px/1 Arial, sans-serif;
  letter-spacing: .2em;
  vertical-align: middle;
}

.profile p {
  font-size: 12px;
  margin: 9px 0 0;
  color: #5c6955;
  letter-spacing: .015em;
}

.profile-star {
  margin-left: auto;
  font-size: 35px;
  font-weight: 400;
  color: #6e805b;
}

svg.profile-star {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}

.links {
  display: grid;
  gap: 10px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 68px;
  padding: 12px 18px;
  border: 1px solid #ffffff22;
  border-radius: 15px;
  color: #fffdf7;
  box-shadow: 0 3px 0 #2831250b;
  transition: transform .18s ease, box-shadow .18s ease;
}

.link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px #28312516;
}

.link:active {
  transform: translateY(0);
}

.link-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
}

.icon {
  display: block;
  width: 25px;
  height: 25px;
}

.link-label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.link-label strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.link-label small {
  font-size: 11px;
  line-height: 1.3;
}

.arrow {
  margin-left: auto;
  font-size: 19px;
}

svg.arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.retreat {
  background: #4b533a;
  min-height: 68px;
}

.yoga {
  background: #d3ddc7;
  color: #35432c;
  border-color: #aebda480;
  min-height: 68px;
}

.retreat .link-label strong,
.yoga .link-label strong {
  font: 20px/1.12 Georgia, serif;
  letter-spacing: -.025em;
}

.retreat small {
  color: #e1e6d6;
}

.youtube {
  background: #a73e3b;
}

.patreon {
  background: #000000;
}

.retreat {
  margin-top: 8px;
}

.twitch {
  background: #8138ca;
}

.instagram {
  background: linear-gradient(115deg, #885466, #975440);
}

.tiktok {
  background: #304845;
}

.paypal {
  background: #e9edf0;
  border-color: #bdcbd5;
  color: #2a4864;
}

.hub-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 5px 0;
  font-size: 11px;
  color: #55634c;
}

.hub-footer a:hover {
  text-decoration: underline;
}

.motion-toggle {
  border: 0;
  background: none;
  color: inherit;
  padding: 8px 0 8px 10px;
  cursor: pointer;
  min-height: 36px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #745840;
  outline-offset: 4px;
}

/* Errores de la portada y Yoga: siempre hay un enlace visible para volver. */
.error-card {
  position: relative;
  width: min(100%, 650px);
  padding-block: 40px;
}

.error-brand {
  font: 32px Georgia, serif;
  margin: 0 0 70px;
}

.error-brand span {
  font: 11px Arial, sans-serif;
  letter-spacing: .15em;
}

.brand-logo {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.brand-logoS {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.error-code {
  font-size: 10px;
  letter-spacing: .14em;
  margin-bottom: 22px;
}

.error-card h1 {
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -.045em;
}

.error-card>p:last-of-type {
  font-size: 14px;
  line-height: 1.6;
}

.error-button {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  padding: 17px 25px;
  margin-top: 24px;
  border-radius: 30px;
  background: var(--olive);
  color: #fffdf7;
  font-size: 14px;
}

.error-button:hover {
  background: #363e2b;
}

@media (max-width: 420px) {
  body {
    padding: 20px 18px;
  }

  .profile {
    gap: 16px;
    margin-bottom: 20px;
  }

  .portrait {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  h1 {
    font-size: 54px;
  }

  /* .profile-star {
    font-size: 26px;
  } */

  .profile h1 span {
    font-size: 9px;
    margin-left: 8px;
  }

  .link {
    padding: 12px 14px;
    gap: 10px;
  }

  .hub-footer {
    padding-top: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link {
    transition: none;
  }

  .link:hover {
    transform: none;
  }
}

@media (max-width: 420px) {
  svg.profile-star {
    width: 26px;
    height: 26px;
  }
}

.link.email {
  background: #e8e5dc;
  border-color: #b8bca9;
  color: #353f34;
}

.email .link-label strong {
  overflow-wrap: anywhere;
}