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

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

#dots-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 16px;
  gap: 16px;
}

.title {
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  letter-spacing: 0.1em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

@keyframes float {
  0%   { transform: translateY(0px)   scaleX(1)      scaleY(1); }
  25%  { transform: translateY(-8px)  scaleX(1.012)  scaleY(0.995); }
  50%  { transform: translateY(-14px) scaleX(1.018)  scaleY(0.988); }
  75%  { transform: translateY(-8px)  scaleX(1.012)  scaleY(0.995); }
  100% { transform: translateY(0px)   scaleX(1)      scaleY(1); }
}

.frame-wrap {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 10px;
  background: #111;
  box-shadow:
    0 10px 50px rgba(0, 0, 0, 0.9),
    0 3px 14px  rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: float 6s ease-in-out infinite;
  transform-origin: center center;
}

#img-canvas {
  display: block;
}

.bio {
  max-width: 600px;
  padding: 0 24px;
  color: rgba(255, 255, 255, 0.8);
  font-family: Georgia, serif;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  line-height: 1.75;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.bio strong {
  color: #fff;
}