/* ===== LINKS PAGE (gratitudideas.com/links) ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: #FAF6EF;
  color: #1F1A2B;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px 20px;
}

.links-wrapper {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-lockup {
  text-align: center;
  margin-bottom: 28px;
}

.brand-logo-lockup {
  position: relative;
  max-width: 280px;
  width: 100%;
  aspect-ratio: 6000 / 3375;
  margin: 0 auto 22px;
  container-type: inline-size;
}
.brand-logo-lockup img.lettering {
  width: 100%;
  height: auto;
  display: block;
}
.brand-logo-lockup .flor-i {
  position: absolute;
  left: 53.5%;
  top: 40.5%;
  width: 4.2%;
  height: auto;
  transform: translate(-50%, -50%) rotate(-8deg);
  pointer-events: none;
}
.brand-logo-lockup .frase {
  position: absolute;
  right: 3%;
  bottom: 13.5%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5.4cqw;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-transform: lowercase;
  text-align: right;
  line-height: 0.92;
}
.brand-logo-lockup .frase .l1 {
  color: #4A1FCF;
  display: block;
  position: relative;
  z-index: 2;
}
.brand-logo-lockup .frase .l2 {
  display: block;
  position: relative;
  z-index: 1;
}
.brand-logo-lockup .frase .l2 .hl-frase {
  background: #D6E33C;
  color: #4A1FCF;
  font-weight: 700;
  padding: 0 0.18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(31,26,43,0.12);
  border: 3px solid #FFFFFF;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.name {
  font-size: 22px;
  font-weight: 600;
  color: #4A1FCF;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.bio {
  font-size: 15px;
  color: #1F1A2B;
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto;
}
.bio .hl {
  background: #D6E33C;
  color: #4A1FCF;
  padding: 0 0.2em;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(31,26,43,0.08);
  border-left: 4px solid #4A1FCF;
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  color: #1F1A2B;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  box-shadow: 0 2px 8px rgba(31,26,43,0.04);
}
.link-btn:hover, .link-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31,26,43,0.1);
  outline: none;
}

/* Rotación de color de borde (anti-uniformidad) */
.link-btn:nth-child(2) { border-left-color: #2DBD4D; }
.link-btn:nth-child(3) { border-left-color: #C42E1C; }
.link-btn:nth-child(4) { border-left-color: #D6E33C; }
.link-btn:nth-child(5) { border-left-color: #1F1A2B; }
.link-btn:nth-child(6) { border-left-color: #4A1FCF; }

.link-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #4A1FCF;
}
.link-icon svg { width: 100%; height: 100%; display: block; }

.link-text {
  flex: 1;
  min-width: 0;
}
.link-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #1F1A2B;
  opacity: 0.55;
  font-weight: 600;
  margin-bottom: 2px;
}
.link-value {
  font-size: 15px;
  font-weight: 600;
  color: #1F1A2B;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #1F1A2B;
  opacity: 0.4;
  transition: transform 0.18s, opacity 0.18s;
}
.link-btn:hover .link-arrow { transform: translateX(4px); opacity: 1; }

.footer-mini {
  margin-top: 36px;
  text-align: center;
  font-size: 12px;
  color: #1F1A2B;
  opacity: 0.5;
  letter-spacing: 0.4px;
}
.footer-mini a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 420px) {
  body { padding: 24px 16px 16px; }
  .avatar { width: 80px; height: 80px; }
  .name { font-size: 20px; }
  .link-value { font-size: 14px; }
}
