:root {
  --bg: #080a08;
  --panel: #0c0f0c;
  --acid: #8ee62b;
  --acid-deep: #5fae10;
  --paper: #f3f5ee;
  --muted: #8d9588;
  --line: #30362e;
  --grid: rgba(255, 255, 255, .035);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 62px 14px 28px;
  color: var(--paper);
  font-family: Inter, Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-tap-highlight-color: transparent;
}

button, a { font: inherit; }
.share-button {
  position: absolute;
  top: 17px;
  right: 14px;
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--paper);
  background: rgba(8, 10, 8, .9);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
}
.share-button span { margin-left: 7px; color: var(--acid); font-size: 14px; }
.share-button:hover, .share-button:focus-visible { border-color: var(--acid); outline: none; }

.profile-card {
  width: min(100%, 430px);
  min-height: calc(100svh - 90px);
  margin: 0 auto;
  padding: 39px 18px 17px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 8, .76);
}

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.status {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.status span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 14px rgba(142, 230, 43, .65); vertical-align: -1px; }

.logo-frame { position: relative; width: 132px; height: 132px; margin-bottom: 21px; border: 1px solid #60665d; background: white; }
.logo-frame::after { position: absolute; z-index: -1; right: -9px; bottom: -9px; width: 100%; height: 100%; background: var(--acid); content: ""; }
.logo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.logo-frame small { position: absolute; right: -1px; bottom: 8px; padding: 5px 7px; color: #090b09; background: var(--paper); font-family: "DM Mono", monospace; font-size: 7px; font-weight: 500; }
.corner { position: absolute; z-index: 2; width: 18px; height: 18px; pointer-events: none; }
.corner-one { top: -7px; left: -7px; border-top: 2px solid var(--acid); border-left: 2px solid var(--acid); }
.corner-two { right: -15px; bottom: -15px; border-right: 2px solid var(--acid); border-bottom: 2px solid var(--acid); }

.label { margin: 0 0 8px; padding: 5px 10px; color: #090b09; background: var(--acid); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
h1 { margin: 0; font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(49px, 16vw, 68px); line-height: .78; letter-spacing: -.085em; text-transform: uppercase; }
h1 span { color: var(--acid); }
.handle { margin-top: 16px; color: var(--acid); font-family: "DM Mono", monospace; font-size: 9px; font-weight: 500; text-decoration: none; }
.handle:hover, .handle:focus-visible { text-decoration: underline; outline: none; }
.bio { max-width: 344px; margin: 19px 0 15px; color: #c7cbc3; font-size: 11px; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tags span { padding: 7px 10px; border: 1px solid #535c50; color: #d2d8ce; background: #10140f; font-family: "DM Mono", monospace; font-size: 9px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }

.connect { margin-top: 37px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-heading h2 { margin: 0; color: var(--muted); font-family: "DM Mono", monospace; font-size: 7px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.section-heading span { color: var(--acid); font-size: 16px; }
.links { display: grid; }
.link-card {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: 23px 1fr 22px;
  align-items: center;
  padding: 15px 13px;
  border: 1px solid var(--line);
  border-bottom: 0;
  color: var(--paper);
  text-decoration: none;
  touch-action: manipulation;
}
.link-card:last-child { border-bottom: 1px solid var(--line); }
.link-card.featured { color: #080a08; border-color: var(--acid); background: var(--acid); }
.link-card:not(.featured):hover, .link-card:not(.featured):focus-visible { color: #080a08; background: var(--paper); outline: none; }
.link-card.featured:hover, .link-card.featured:focus-visible { background: #a2f546; outline: none; }
.number { align-self: start; padding-top: 2px; font-family: "DM Mono", monospace; font-size: 7px; }
.link-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.link-copy small { margin-bottom: 4px; font-family: "DM Mono", monospace; font-size: 6px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.link-copy strong { font-size: 20px; line-height: 1; letter-spacing: -.055em; }
.link-copy em { margin-top: 6px; font-family: "DM Mono", monospace; font-size: 7px; font-style: normal; opacity: .67; }
.arrow { justify-self: end; font-size: 20px; }

.note { min-height: 78px; margin-top: 15px; padding: 16px 14px; display: grid; grid-template-columns: 32px 1fr; align-items: start; border: 1px dashed #687064; background: rgba(17, 21, 16, .78); text-align: left; }
.note b { color: var(--acid); font-size: 25px; line-height: .8; }
.note p { margin: 0; display: flex; flex-direction: column; gap: 6px; color: var(--paper); font-size: 12px; line-height: 1.35; }
.note p span { color: #c1c8bd; font-size: 10px; line-height: 1.55; }
footer { margin-top: 57px; display: flex; justify-content: space-between; gap: 16px; color: #62685f; font-family: "DM Mono", monospace; font-size: 6px; letter-spacing: .11em; text-transform: uppercase; }
.toast { position: fixed; right: 14px; bottom: 14px; margin: 0; padding: 9px 12px; color: #080a08; background: var(--acid); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; opacity: 0; pointer-events: none; }
.toast.show { opacity: 1; }

@media (min-width: 600px) {
  body { padding: 58px 20px 36px; }
  .share-button { position: fixed; top: 17px; left: calc(50% + 136px); right: auto; }
  .profile-card { padding: 48px 20px 20px; }
}
