@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #090b0a;
  --a: #b7f12d;
  --a-ink: #0b1000;
  --text: #f3f6f1;
  --muted: #8d978c;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.045);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -5%, rgba(183, 241, 45, 0.17), transparent 70%),
    radial-gradient(45% 35% at 100% 30%, rgba(91, 157, 255, 0.08), transparent 70%),
    radial-gradient(40% 30% at 0% 75%, rgba(183, 241, 45, 0.06), transparent 70%);
}

.wrap {
  max-width: 540px;
  margin: 0 auto;
  padding: max(40px, env(safe-area-inset-top)) 20px max(40px, env(safe-area-inset-bottom));
}

.hero { text-align: center; margin-bottom: 30px; }
.avatar {
  display: block;
  margin: 0 auto 18px;
  width: 104px;
  height: 104px;
  border-radius: 28px;
  box-shadow: 0 0 0 1px var(--line), 0 12px 40px rgba(183, 241, 45, 0.18), 0 0 80px rgba(183, 241, 45, 0.1);
}
h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.bio { margin: 8px auto 0; max-width: 34ch; color: var(--muted); font-size: 15px; text-wrap: balance; }

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

.section { margin-top: 14px; }
.section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px 12px 12px;
  color: inherit;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 241, 45, 0.45);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.card:active { transform: scale(0.985); }
.card:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; }

.ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--a);
  background: rgba(183, 241, 45, 0.1);
  box-shadow: inset 0 0 0 1px rgba(183, 241, 45, 0.14);
}
.txt { display: grid; gap: 2px; min-width: 0; }
.txt strong { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.txt small { color: var(--muted); font-size: 13px; }
.go { color: var(--muted); transition: transform 0.18s ease, color 0.18s ease; }
.card:hover .go { color: var(--a); transform: translate(2px, -2px); }

.featured {
  min-height: 88px;
  padding: 16px 18px 16px 16px;
  border-color: rgba(183, 241, 45, 0.32);
  background:
    linear-gradient(135deg, rgba(183, 241, 45, 0.17), rgba(91, 157, 255, 0.07) 65%, rgba(255, 255, 255, 0.03)),
    var(--card);
  box-shadow: 0 0 0 1px rgba(183, 241, 45, 0.05), 0 14px 40px rgba(183, 241, 45, 0.07);
}
.featured:hover {
  border-color: rgba(183, 241, 45, 0.75);
  box-shadow: 0 14px 44px rgba(183, 241, 45, 0.18);
}
.featured .ico { width: 54px; height: 54px; border-radius: 16px; color: var(--a-ink); background: var(--a); box-shadow: 0 6px 18px rgba(183, 241, 45, 0.35); }
.featured .i { width: 26px; height: 26px; }
.featured .txt strong { font-size: 19px; font-weight: 720; letter-spacing: -0.02em; }
.featured .txt small { font-size: 13.5px; }

.foot { margin-top: 36px; text-align: center; font-size: 12px; color: #5e675d; }

@media (prefers-reduced-motion: no-preference) {
  .hero, .links > li { opacity: 0; transform: translateY(10px); animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .links > li:nth-child(1) { animation-delay: 0.08s; }
  .links > li:nth-child(2) { animation-delay: 0.14s; }
  .links > li:nth-child(3) { animation-delay: 0.2s; }
  .links > li:nth-child(4) { animation-delay: 0.26s; }
  .links > li:nth-child(5) { animation-delay: 0.32s; }
  .links > li:nth-child(6) { animation-delay: 0.38s; }
  .links > li:nth-child(7) { animation-delay: 0.44s; }
  .links > li:nth-child(8) { animation-delay: 0.5s; }
  .links > li:nth-child(n + 9) { animation-delay: 0.56s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
  .wrap { padding-top: 72px; }
}

/* Real logos: the image fills the tile instead of a tinted icon. */
.ico.logo {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.ico.logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured .ico.logo { background: rgba(255, 255, 255, 0.08); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
