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

:root {
  --glow-color: #999999;
  --glow-radius: 3.5px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "G", "Segoe UI", Roboto, sans-serif;
  color: #e9e9e9;
  background: transparent;
  user-select: none;
  -webkit-user-select: none;
}

html { background: #000; }

img {
  -webkit-user-drag: none;
  user-select: none;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow-x: hidden;
}

.backdrop {
  position: fixed;
  inset: 0;
  background-color: #050505;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  overflow: hidden;
}

.backdrop video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  filter: blur(3px) brightness(0.9);
}

.veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, rgba(0,0,0,0), rgba(0,0,0,0.15) 85%);
}

.layout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(840px, 100%);
}

.bio-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(240,240,240,0.3))
          drop-shadow(0 0 30px rgba(153,153,153,0.2))
          drop-shadow(0 18px 45px rgba(0,0,0,0.55));
}

.social-row {
  display: flex;
  width: 100%;
  aspect-ratio: 840 / 88;
  container-type: inline-size;
  background: #1b1b1b;
  border-radius: 32px;
  overflow: hidden;
  filter: drop-shadow(0 0 10px rgba(240,240,240,0.26))
          drop-shadow(0 0 28px rgba(153,153,153,0.18))
          drop-shadow(0 12px 30px rgba(0,0,0,0.45));
}

.seg {
  display: block;
  height: 100%;
  flex: 0 0 auto;
  transition: transform 0.18s, filter 0.18s;
}

.seg img {
  display: block;
  width: 100%;
  height: 100%;
}

.cap-left { width: 25%; }
#telegramBtn { width: 16.667%; }
#discordBtn { width: 16.667%; }
#githubBtn { width: 16.666%; }
.cap-right { width: 25%; }

a.seg {
  position: relative;
  cursor: pointer;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

a.seg::after {
  content: "";
  position: absolute;
  inset: 24% 3.5%;
  border-radius: 9999px;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.18s;
  pointer-events: none;
}

a.seg:hover::after {
  opacity: 1;
}

.credit {
  position: fixed;
  right: 18px;
  bottom: 14px;
  display: none;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 560px) {
  body { padding: 20px 10px; }
}
