@font-face {
  font-family: "LEDLIGHT";
  src: url("/assets/fonts/LEDLIGHT.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-0: #e3f22a;
  --bg-1: #d2e916;
  --ink: #1c1c14;
  --ink-dim: #55543f;
  --accent: #2417ff;
  --card-bg: #ffffff;
  --card-border: #14141a;
  --card-shadow: rgba(20, 20, 26, 0.9);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(ellipse 120% 80% at 50% -10%, var(--bg-1) 0%, var(--bg-0) 55%), var(--bg-0);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.1;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.55  0 0 0 0 0.6  0 0 0 0 0.05  0 0 0 0.85 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 320px 320px;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 56px;
  gap: 34px;
}

.avatar-wrap {
  position: relative;
  width: 152px;
  height: 152px;
}

.avatar {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 14px 34px rgba(20, 20, 20, 0.25);
  animation: rise 0.7s ease both;
}

.name {
  font-family: "LEDLIGHT", "Unbounded", sans-serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--accent);
  animation: rise 0.7s ease 0.08s both;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 380px;
  animation: rise 0.7s ease 0.16s both;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 2.5px solid var(--card-border);
  color: var(--card-border);
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.01em;
  box-shadow: 5px 5px 0 var(--card-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.link-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--card-shadow);
}

.link-btn:active {
  transform: translate(0, 0);
  box-shadow: 3px 3px 0 var(--card-shadow);
}

.link-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.link-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.link-icon svg {
  width: 100%;
  height: 100%;
}

.link-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.link-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.link-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-dim);
}

.footer {
  color: var(--ink-dim);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  margin-top: 8px;
  animation: rise 0.7s ease 0.22s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .avatar, .name, .links, .footer {
    animation: none;
  }
}

@media (max-width: 420px) {
  .page {
    padding: 72px 18px 40px;
  }
}
