/* =========================================================
   links.css — Social-links landing page
   ========================================================= */

/* ── Page reset ─────────────────────────────────────────── */
body.links-page {
  display: block;
  height: auto;
  min-height: 100vh;
  overflow-y: auto;
  margin: 0;
  background:
    radial-gradient(circle at top right,
      rgba(124,58,237,0.30),
      rgba(168,85,247,0.20)),
    linear-gradient(120deg, #1a1a2e, #2e2450 50%, #4a3080 100%) !important;
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  color: #fff;
}

/* ── Centred wrapper ────────────────────────────────────── */
.links-wrap {
  max-width: 540px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Header / branding ──────────────────────────────────── */
.links-header {
  text-align: center;
  margin-bottom: 2rem;
}

.links-avatar {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #242040, #2e2450);
  border: 2px solid rgba(124,58,237,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: 0 8px 28px rgba(124,58,237,0.25);
}

.links-header h1 {
  font-size: 1.9rem;
  margin: 0 0 0.35rem;
  color: #fff;
}

.links-header p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  line-height: 1.5;
}

/* ── Odyssey section ────────────────────────────────────── */
.links-odyssey {
  width: 100%;
  background: #1a1a2e;
  border: 2px solid rgba(124,58,237,0.25);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 2rem;
}

.links-odyssey h2 {
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
  color: #fff;
  text-align: center;
}

.links-odyssey p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 0 0 0.8rem;
}

.links-odyssey em {
  color: #c084fc;
  font-style: italic;
}

.links-odyssey ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-odyssey li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.3rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}

.links-odyssey li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: #a855f7;
  font-weight: 700;
}

.links-odyssey li:last-child {
  color: #c084fc;
  font-weight: 600;
}

/* ── Social icon row ────────────────────────────────────── */
.links-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.social-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 12px;
  background: #1a1a2e;
  border: 2px solid rgba(124,58,237,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.social-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.social-icon:hover {
  border-color: #a855f7;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.4);
}

.social-icon:active {
  transform: translateY(0);
}

/* ── Browse-site CTA ────────────────────────────────────── */
.links-browse {
  width: 100%;
  text-align: center;
}

.browse-btn {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  appearance: none;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  height: 3.2rem;
  line-height: 3.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.browse-btn:hover {
  background: linear-gradient(135deg, #6d28d9, #9333ea);
  box-shadow: 0 6px 20px rgba(124,58,237,0.5);
  transform: translateY(-2px);
}

.browse-btn:active {
  transform: translateY(0);
}

/* ── Footer ─────────────────────────────────────────────── */
.links-footer {
  margin-top: 2.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ── Responsive ─────────────────────────────────────────── */
@media screen and (max-width: 520px) {
  .links-wrap {
    padding: 2.5rem 1rem 2.5rem;
  }

  .links-header h1 {
    font-size: 1.5rem;
  }

  .links-avatar {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
  }

  .links-odyssey {
    padding: 1.2rem 1.1rem;
  }

  .links-odyssey h2 {
    font-size: 1.15rem;
  }

  .links-socials {
    gap: 0.75rem;
  }

  .social-icon {
    width: 3rem;
    height: 3rem;
  }

  .social-icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }
}

/* ── Inline SVG icons (in-text) ─────────────────────────── */
.inline-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  margin-left: 0.15em;
  flex-shrink: 0;
}

.inline-icon-fa {
  font-size: 1em;
  color: #c084fc;
  margin-left: 0.15em;
  vertical-align: -0.05em;
}