/* Jaxen's Links — self-hosted Linktree replacement.
   Plain CSS, no JavaScript. Edit freely. */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: #181818;
  background-image: url("bg-drips.svg");
  background-repeat: repeat;
  background-position: top center;
  background-size: 680px auto;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Centered column on mobile; two-column layout on desktop (see below). */
.page {
  max-width: 680px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 48px 20px 40px;
  text-align: center;
}

/* --- Hero photo (Linktree Premium style banner, not a small bubble) --- */
.hero {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 16px;
  margin-bottom: 24px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: .2px;
}

.bio {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 2px;
}

.bio a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.bio a:hover { border-bottom-color: #fff; }

/* --- Social icons --- */
.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 10px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background .15s ease;
}

.social:hover { background: rgba(255,255,255,.12); }
.social:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.social svg { width: 24px; height: 24px; display: block; }

.followers {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #b3b3b3;
  margin: 6px 0 0;
}

/* --- Link buttons --- */
.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 0;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 10px 16px 10px 12px;
  background: #242424;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}

.link-btn:hover { background: #2e2e2e; border-color: rgba(255,255,255,.3); }
.link-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.thumb {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 14px;
}

.link-text {
  flex: 1 1 auto;
  text-align: center;
  min-width: 0;
  padding-right: 8px;
}

.link-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.link-desc {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #c9c9c9;
  margin-top: 4px;
}

/* --- Footer --- */
.footer {
  margin-top: 40px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #9a9a9a;
}

.footer p { margin: 2px 0; }

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
  color: #e6e6e6;
}

.footer a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.footer a:hover { border-bottom-color: #fff; color: #fff; }

/* --- Desktop: proper two-column layout instead of a phone column --- */
@media (min-width: 900px) {
  .page {
    max-width: 1080px;
    padding: 64px 32px 48px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: 56px;
    align-items: start;
    text-align: left;
  }

  /* Hero banner spans the full width above the two columns. */
  .hero {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
    max-height: 420px;
    margin-bottom: 8px;
  }

  /* Profile rail on the left, sticks while the links scroll. */
  .profile {
    position: sticky;
    top: 64px;
  }

  .socials { justify-content: flex-start; margin: 20px 0 10px; gap: 6px; }
  .social { width: 34px; height: 34px; }

  .links { margin-top: 0; }

  .link-btn { min-height: 72px; padding: 12px 18px 12px 14px; }
  .thumb { width: 56px; height: 56px; }
  .link-title { font-size: 17px; }

  .footer {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 56px;
  }
}

/* --- Small screens --- */
@media (max-width: 480px) {
  .page { padding: 36px 16px 32px; }
  h1 { font-size: 28px; }
  .socials { gap: 4px; }
  .social { width: 36px; height: 36px; }
  .link-title { font-size: 15px; }
  .link-desc { font-size: 12px; }
}
