/* Linktree do Daniel Fortune. Tokens do tema GameWin (df-curso, mc-theme-gamewin.css). */
:root {
  --bg: oklch(13.5% .035 262);
  --surface: oklch(18.5% .05 262);
  --line: oklch(9% .03 262 / .9);
  --line-strong: oklch(42% .06 258 / .45);
  --sheen: oklch(72% .1 252 / .22);
  --ink: oklch(96.5% .012 255);
  --ink-soft: oklch(89% .022 258);
  --dim: oklch(76% .03 258);
  --accent: oklch(84.4% .146 209);
  --on-accent: oklch(14% .05 262);
  --live: oklch(71% .19 22);
  --r-panel: 14px;
  --font-display: 'Bebas Neue', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  position: relative; min-height: 100dvh; overflow-x: hidden;
  background: var(--bg); color: var(--ink-soft);
  font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
/* Arena como textura atrás do topo, dissolvendo no marinho (mesma receita do GameWin). */
body::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 50%, var(--bg) 100%),
    linear-gradient(oklch(13.5% .05 266 / .86), oklch(13.5% .05 266 / .86)),
    url("/assets/arena-bg.webp") center 40% / cover no-repeat;
}
a { color: inherit; text-decoration: none; }

.page { width: min(100%, 480px); margin: 0 auto; padding: 36px 16px 28px; }

/* Perfil */
.profile { text-align: center; }
.profile__avatar { position: relative; width: 112px; height: 112px; margin: 0 auto 14px; }
.profile__avatar img {
  width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--line-strong); box-shadow: 0 0 34px oklch(84.4% .146 209 / .28);
}
.profile__badge {
  position: absolute; right: -2px; bottom: 4px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: oklch(72% .14 215); border: 3px solid var(--bg);
}
.profile__badge svg { width: 16px; height: 16px; fill: none; stroke: var(--on-accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.profile__name {
  font-family: var(--font-display); font-weight: 400; font-size: 2.75rem; line-height: 1;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
}
.profile__tagline { margin-top: 6px; font-size: .9375rem; color: var(--ink-soft); }

/* Links */
.links { display: grid; gap: 12px; margin-top: 26px; }
.link {
  position: relative; display: flex; align-items: center; min-height: 118px; padding: 14px 18px;
  overflow: hidden; border-radius: var(--r-panel); background: var(--surface);
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--sheen), 0 0 0 1px var(--line-strong);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.link__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
/* Véu à esquerda: garante leitura do texto sobre qualquer arte. */
.link::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, oklch(13.5% .05 266 / .94) 45%, transparent 85%);
}
.link__text { position: relative; z-index: 1; display: grid; justify-items: start; max-width: 62%; }
.link__title {
  font-family: var(--font-display); font-size: 1.4375rem; line-height: 1.08;
  letter-spacing: .03em; text-transform: uppercase; color: var(--ink);
}
.link__desc { margin-top: 4px; font-size: .75rem; line-height: 1.35; color: var(--ink-soft); }
/* Só o primeiro link leva o tratamento de cartão ativo. */
.link--featured {
  min-height: 136px; border-color: var(--accent);
  box-shadow: inset 0 1px 0 var(--sheen), 0 0 0 1px var(--accent), 0 0 30px -6px oklch(84.4% .146 209 / .5);
}
.link:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 var(--sheen), 0 0 0 1px var(--accent), 0 14px 30px -14px oklch(84.4% .146 209 / .6); }
.link:focus-visible { outline: none; box-shadow: 0 0 0 3px oklch(84.4% .146 209 / .6); }
.link:active { transform: none; }

/* Rodapé */
.legal { margin-top: 26px; text-align: center; font-size: .75rem; line-height: 1.6; color: var(--dim); }
.legal p + p { margin-top: 2px; }
.legal__line { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.legal__age { margin-right: 6px; padding: 1px 6px; border: 1px solid var(--live); border-radius: 4px; color: var(--live); font-weight: 700; }

@media (max-width: 360px) {
  .link__title { font-size: 1.25rem; }
}
@media (min-width: 440px) {
  .link__text { max-width: 64%; }
}

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