@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&family=Space+Mono&display=swap');

:root {
  --bg: linear-gradient(to bottom right, #f0eafc, #e3f7f1);
  --accent: #7f97ff;
  --text: #2e2e2e;
  --muted: #777;
  --link: #a77fff;
  --font-main: 'Quicksand', sans-serif;
  --font-alt: 'Space Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  font-family: var(--font-main);
  color: var(--text);
  height: 100vh;
  overflow: hidden;
  position: relative;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

/* Floating pixel character */
.corner-avatar {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  animation: float 3s ease-in-out infinite;
}

.corner-avatar img {
  width: 64px;
  image-rendering: pixelated;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Scattered layout */
.top-left {
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.top-left h1 {
  font-size: 2rem;
  font-weight: 600;
}

.top-left p {
  font-size: 1rem;
  color: var(--muted);
}

.nav-links {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nav-links a {
  font-weight: 600;
}

.center-bio {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 500px;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
}

.bottom-left {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Optional background glow */
.background-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167,127,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: -1;
}