@font-face {
  font-family: "Press Start 2P";
  src: url("fonts/PressStart2P.woff2") format("woff2");
  font-display: swap;
}

:root {
  --sky-1: #b3c3d3;
  --sky-2: #a6b8c9;
  --mount-1: #8ba0b4;
  --mount-2: #6b8499;
  --field: #93a7ba;
  --ink: #2e4257;
  --ink-soft: #4a5f74;
  --muted: #5e7185;
  --panel: #f4f1e8;
  --panel-2: #fbf9f3;
  --pink: #cf6f97;
  --pink-deep: #c25c88;
  --mint: #3f9e7d;
  --shadow: 46, 66, 87;
  --px: "Press Start 2P", ui-monospace, Menlo, Consolas, monospace;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--sky-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.marquee,
main,
.footer-chip,
.mascot { position: relative; z-index: 1; }

::selection { background: var(--ink); color: var(--panel); }

.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 3px solid var(--ink);
  user-select: none;
}
.marquee__track {
  display: inline-flex;
  gap: 2em;
  white-space: nowrap;
  padding: 10px 0;
  font-family: var(--px);
  font-size: 9px;
  color: var(--panel);
  animation: scroll 24s linear infinite;
}
.marquee__sep { color: var(--pink); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

main {
  width: min(560px, 94vw);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px 0 40px;
}

.card {
  background: var(--panel);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 26px;
  box-shadow: 8px 8px 0 rgba(var(--shadow), 0.22);
}

.card-title {
  font-family: var(--px);
  font-size: 10px;
  font-weight: 400;
  color: var(--pink-deep);
  margin-bottom: 16px;
}

.hero { text-align: center; }

.avatar-wrap {
  position: relative;
  width: 124px;
  margin: 0 auto 8px;
}

.avatar {
  width: 124px;
  height: 124px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--mount-1);
  display: grid;
  place-items: center;
  overflow: hidden;
  image-rendering: pixelated;
  box-shadow: 5px 5px 0 rgba(var(--shadow), 0.22);
}
.avatar svg { width: 76%; height: 76%; }

.status {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--ink-soft);
  box-shadow: 3px 3px 0 rgba(var(--shadow), 0.18);
}
.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.name {
  margin-top: 24px;
  font-family: var(--px);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.name::after { content: "_"; color: var(--pink-deep); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.handle { color: var(--pink-deep); font-family: var(--px); font-size: 9px; margin-top: 10px; overflow-wrap: anywhere; }
.tagline { color: var(--muted); margin-top: 12px; font-size: 13px; }

.bio { margin-top: 14px; font-size: 13px; color: var(--ink-soft); overflow-wrap: anywhere; }
.bio p + p { margin-top: 4px; }

.xmr {
  margin-top: 16px;
  padding: 11px 13px;
  text-align: left;
  border: 2px dashed var(--ink);
  border-radius: 8px;
  background: var(--panel-2);
}
.xmr__label {
  font-family: var(--px);
  font-size: 8px;
  color: var(--pink-deep);
}
.xmr__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}
.xmr__addr {
  flex: 1;
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
}
.xmr__copy {
  flex: none;
  font-family: var(--px);
  font-size: 8px;
  color: var(--panel);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 6px 9px;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(var(--shadow), 0.25);
  transition: transform 0.1s ease, background 0.15s ease;
}
.xmr__copy:hover { background: var(--pink-deep); border-color: var(--pink-deep); }
.xmr__copy:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(var(--shadow), 0.25); }
.xmr__copy:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 2px; }

.stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--panel-2);
  text-align: left;
  box-shadow: 4px 4px 0 rgba(var(--shadow), 0.15);
}
.stat__icon { font-size: 13px; }
.stat__value { font-family: var(--px); font-size: 9px; color: var(--ink); }
.stat__label { font-size: 11px; color: var(--muted); }

.links { display: flex; flex-direction: column; gap: 12px; }
.link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  background: var(--panel-2);
  box-shadow: 4px 4px 0 rgba(var(--shadow), 0.15);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.link:hover {
  transform: translate(-2px, -2px);
  border-color: var(--pink-deep);
  box-shadow: 6px 6px 0 rgba(var(--shadow), 0.2);
}
.link:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 2px; }
.link__icon { width: 18px; height: 18px; color: var(--pink-deep); flex: none; }
.link__label { font-family: var(--px); font-size: 9px; }
.link__note { margin-left: auto; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; text-align: right; }
.link__arrow { color: var(--pink-deep); font-size: 13px; opacity: 0; transition: opacity 0.12s ease; }
.link:hover .link__arrow { opacity: 1; }

.icon { display: inline-block; background: currentColor; }
.icon--github {
  width: 18px; height: 18px; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.icon--telegram {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14.7.3 1 5.7c-.9.4-.9 1.1-.2 1.3l3.5 1.1 1.3 4c.2.5.3.7.8.7.4 0 .6-.2.8-.4l1.9-1.8 3.6 2.7c.7.4 1.2.2 1.4-.6L15.9 1.3c.2-1-.4-1.4-1.2-1ZM5.1 7.9l7.8-4.9c.4-.2.7-.1.5.2l-6.6 6-.3 3-1.4-4.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14.7.3 1 5.7c-.9.4-.9 1.1-.2 1.3l3.5 1.1 1.3 4c.2.5.3.7.8.7.4 0 .6-.2.8-.4l1.9-1.8 3.6 2.7c.7.4 1.2.2 1.4-.6L15.9 1.3c.2-1-.4-1.4-1.2-1ZM5.1 7.9l7.8-4.9c.4-.2.7-.1.5.2l-6.6 6-.3 3-1.4-4.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.icon--mail {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 3h13c.8 0 1.5.7 1.5 1.5v7c0 .8-.7 1.5-1.5 1.5h-13C.7 13 0 12.3 0 11.5v-7C0 3.7.7 3 1.5 3Zm.6 1.6L8 8.6l5.9-4L8 7 2.1 4.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 3h13c.8 0 1.5.7 1.5 1.5v7c0 .8-.7 1.5-1.5 1.5h-13C.7 13 0 12.3 0 11.5v-7C0 3.7.7 3 1.5 3Zm.6 1.6L8 8.6l5.9-4L8 7 2.1 4.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.icon--key {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10 0a6 6 0 0 0-5.7 7.9L0 12.2V16h3.8l1-1v-2h2v-2h2l1.1-1.1A6 6 0 1 0 10 0Zm2 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10 0a6 6 0 0 0-5.7 7.9L0 12.2V16h3.8l1-1v-2h2v-2h2l1.1-1.1A6 6 0 1 0 10 0Zm2 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.icon--blog {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2h12a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm2 3v2h8V5H4Zm0 4v2h5V9H4Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2h12a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm2 3v2h8V5H4Zm0 4v2h5V9H4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.icon--rss {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 13a2 2 0 1 0 0 .01M2 7v2a5 5 0 0 1 5 5h2A7 7 0 0 0 2 7Zm0-5v2a10 10 0 0 1 10 10h2A12 12 0 0 0 2 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 13a2 2 0 1 0 0 .01M2 7v2a5 5 0 0 1 5 5h2A7 7 0 0 0 2 7Zm0-5v2a10 10 0 0 1 10 10h2A12 12 0 0 0 2 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.icon--zap::before { content: "⚡"; background: none; }
.icon--cpu::before { content: "🖥"; background: none; }
.icon--xmr::before { content: "🪙"; background: none; }
.icon--eye::before { content: "🫥"; background: none; }

.quote { border-left: 4px solid var(--pink-deep); padding-left: 14px; }
.quote__text { font-size: 13px; font-style: italic; color: var(--ink-soft); }
.quote__author { margin-top: 8px; font-size: 12px; color: var(--muted); }
.quote__author a { color: var(--pink-deep); text-decoration: none; }
.quote__author a:hover { text-decoration: underline; }

.footer-chip {
  margin: 0 auto 90px;
  padding: 8px 16px;
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--ink-soft);
  box-shadow: 4px 4px 0 rgba(var(--shadow), 0.2);
}

.mascot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(var(--shadow), 0.3);
  transition: transform 0.15s ease;
  z-index: 2;
}
.mascot:hover { transform: translateY(-3px) rotate(-4deg); }
.mascot::before {
  content: "";
  position: absolute;
  inset: 9px;
  background:
    radial-gradient(circle at 34% 42%, var(--ink) 2px, transparent 2.5px),
    radial-gradient(circle at 66% 42%, var(--ink) 2px, transparent 2.5px),
    radial-gradient(circle at 50% 62%, var(--ink) 2px, transparent 2.5px),
    linear-gradient(#f7f5ee, #f7f5ee);
  border-radius: 40% 40% 45% 45%;
  -webkit-mask: linear-gradient(#000 0 0) top/100% 78% no-repeat,
                radial-gradient(circle at 50% 100%, transparent 8px, #000 9px) bottom/100% 24% no-repeat;
  mask: linear-gradient(#000 0 0) top/100% 78% no-repeat,
        radial-gradient(circle at 50% 100%, transparent 8px, #000 9px) bottom/100% 24% no-repeat;
}
.mascot__bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: max-content;
  max-width: 240px;
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-soft);
  text-align: left;
  box-shadow: 5px 5px 0 rgba(var(--shadow), 0.25);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mascot__bubble.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 480px) {
  .card { padding: 20px 16px; }
  .link__note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .status__dot, .name::after { animation: none; }
}
