/* Mistika Vinland link page, based on LittleLink (MIT). Custom neon theme. */

@font-face {
  font-family: "Michroma";
  src: url("../fonts/Michroma-Regular.woff") format("woff"),
       url("../fonts/Michroma-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050308;
  --bg-2: #0b0614;
  --text: #f6f3ff;
  --muted: #c4b8e8;
  --purple: #c44cff;
  --purple-2: #8b5cf6;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --card: rgba(14, 8, 28, 0.86);
  --max: 28rem;
  --radius: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  background:
    radial-gradient(ellipse 80% 40% at 50% -8%, rgba(196, 76, 255, 0.28), transparent 58%),
    radial-gradient(ellipse 60% 30% at 80% 12%, rgba(34, 211, 238, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 28% at 16% 8%, rgba(139, 92, 246, 0.18), transparent 52%),
    var(--bg);
  color: var(--text);
}

.container {
  width: 92%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 0 2.75rem;
  text-align: center;
}

.avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1.15rem;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.2),
    0 0 32px rgba(196, 76, 255, 0.35),
    0 0 48px rgba(34, 211, 238, 0.15);
}

.logo {
  display: block;
  width: min(100%, 20rem);
  height: auto;
  margin: 0 auto 0.85rem;
  filter: drop-shadow(0 0 18px rgba(196, 76, 255, 0.35)) drop-shadow(0 0 22px rgba(34, 211, 238, 0.2));
}

h1 {
  margin: 0;
  font-size: 0;
}

.bio {
  margin: 0 auto 1.6rem;
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.section {
  margin: 0 0 1.15rem;
}

.section-title {
  font-family: "Michroma", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-2);
  margin: 0 0 0.65rem;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 3.05rem;
  margin: 0 0 0.7rem;
  padding: 0.7rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(90deg, var(--purple), var(--cyan)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: 0 0 18px rgba(196, 76, 255, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.25),
    0 0 22px rgba(196, 76, 255, 0.35),
    0 0 28px rgba(34, 211, 238, 0.18);
}

.button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.button svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  fill: currentColor;
}

.button.shop {
  background:
    linear-gradient(#160824, #160824) padding-box,
    linear-gradient(90deg, var(--purple), var(--cyan)) border-box;
}

.footer {
  margin-top: 1.75rem;
  color: #8b7aaa;
  font-size: 0.72rem;
  line-height: 1.5;
}

.footer a {
  color: #b9a7e0;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--cyan-2);
  text-decoration: underline;
}

@media (min-width: 40rem) {
  .avatar {
    width: 9rem;
    height: 9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
