/*
  Landing page styles, adapted from LinkStack's default theme
  (https://linkstack.org, GPL-3.0; built on LittleLink + Skeleton, MIT).

  Want different colours? Change the values in :root below.
  The second block is used when the visitor's device is in dark mode.
*/

:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #555555;
  --accent: #0085ff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151826;
    --text: #ffffff;
    --muted: #b8bdd0;
  }
  body {
    background: radial-gradient(circle, #151826 28%, #0d0f18 100%);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  line-height: 24px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

/* The centred column that holds everything */
.container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 16px;
  text-align: center;
}

.avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  margin: 16px 0 8px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 800;
}

.bio {
  margin: 0 0 32px;
  color: var(--muted);
}

/* The stack of link buttons */
.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  padding: 14px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  transition: transform 0.15s, filter 0.15s;
}

.button:hover,
.button:focus-visible {
  filter: brightness(90%);
  transform: translateY(-2px);
}

.button img {
  width: 20px;
  height: 20px;
}

/* Brand colours, taken from LinkStack's brands.css */
.button-github    { background-color: #000000; }
.button-linkedin  { background-color: #2867b2; }
.button-email     { background-color: #6666FF; }
.button-youtube   { background-color: #ff0000; }
.button-website   { background-color: #0085ff; }
.button-twitch    { background-color: #9146ff; }
.button-substack  { background-color: #FF5900; }
.button-tiktok    { background-color: #000000; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.button-instagram { background-image: linear-gradient(-135deg, #1400c8, #b900b4, #f50000); }

@media (prefers-color-scheme: dark) {
  .button-github { background-color: #2b2f3a; }
}

/* The big "Continue to main site" button (LinkStack's signature gradient) */
.button-continue {
  max-width: 340px;
  margin-top: 24px;
  padding: 18px 16px;
  font-size: 20px;
  background-image: linear-gradient(20deg, #f70fff, #896ff0, #12d6df);
}

footer {
  margin-top: 48px;
  font-size: 14px;
  color: var(--muted);
}
