/* jrkdev — link na bio. Mesma identidade "editorial escuro" do kashaplace.com.br. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0e1c;
  --surface: #141932;
  --surface-hover: #1a2040;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f6fc;
  --muted: #a9b2c9;
  --blue: #2859ff;
  --blue-hover: #4170ff;
  --blue-text: #8aa4ff;
  --focus: #99b0ff;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

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

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 56px 16px 40px;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  background:
    radial-gradient(60% 50% at 90% 0%, rgba(40, 89, 255, 0.28), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: -150px;
  right: -150px;
  width: 340px;
  height: 340px;
  border: 40px solid transparent;
  border-top-color: var(--blue);
  border-right-color: var(--blue);
  border-bottom-color: rgba(153, 176, 255, 0.25);
  border-radius: 50%;
  transform: rotate(-24deg);
  pointer-events: none;
}

main {
  position: relative;
  width: min(460px, 100%);
  text-align: center;
}

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

.avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 26px;
  border-radius: 47% 53% 45% 55% / 42% 48% 52% 58%;
  object-fit: cover;
  object-position: center 30%;
  box-shadow: 6px 7px 0 var(--blue);
}

h1 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.handle {
  margin: 0 0 14px;
  color: var(--blue-text);
  font-size: 14px;
  font-weight: 600;
}

.bio {
  max-width: 340px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 15px;
}

.group {
  margin: 28px 0 12px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.link:hover {
  background: var(--surface-hover);
  border-color: var(--blue-text);
  transform: translateY(-2px);
}

.link svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--blue-text);
}

.link span {
  flex: 1;
}

.link small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
}

.link::after {
  content: "↗";
  content: "↗" / "";
  color: var(--muted);
  font-size: 16px;
}

.link--main {
  min-height: 64px;
  background: var(--blue);
  border-color: var(--blue);
}

.link--main:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.link--main svg,
.link--main small,
.link--main::after {
  color: #fff;
}

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

footer a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .link {
    transition: none;
  }

  .link:hover {
    transform: none;
  }
}
