:root {
  --bg-0: #061513;   /* deep teal-black */
  --bg-1: #0c2b28;   /* mid teal */
  --bg-deep: #030c0a; /* outer edge */
  --accent: #2fd4b5; /* teal */
  --accent-2: #28a0c8; /* cool cyan hint */
  --text: #eef7f4;
  --text-dim: #bfe3db;
  --card-max: 620px;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background: var(--bg-0);
  color: var(--text);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, "SF Mono",
    Menlo, Consolas, "Liberation Mono", monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(140% 120% at 50% 0%, var(--bg-1) 0%, var(--bg-0) 55%, var(--bg-deep) 100%);
}

/* slow drifting colored glow — subtle aurora, not trippy */
.bg__aurora {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(38% 32% at 22% 28%, rgba(47, 212, 181, 0.24), transparent 70%),
    radial-gradient(34% 30% at 80% 22%, rgba(40, 160, 200, 0.16), transparent 70%),
    radial-gradient(46% 40% at 60% 85%, rgba(40, 200, 170, 0.16), transparent 72%);
  filter: blur(8px);
  animation: drift 34s ease-in-out infinite alternate;
}

@keyframes drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

/* starfields: three parallax layers built from tiled radial gradients */
.bg__stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}

.bg__stars--far {
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 200px 160px, rgba(200,210,255,0.6), transparent),
    radial-gradient(1px 1px at 90px 220px, rgba(255,255,255,0.45), transparent);
  background-size: 260px 260px;
  opacity: 0.6;
  animation: rise 220s linear infinite;
}

.bg__stars--mid {
  background-image:
    radial-gradient(1.4px 1.4px at 60px 50px, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.4px 1.4px at 180px 120px, rgba(214,224,255,0.75), transparent),
    radial-gradient(1.2px 1.2px at 300px 240px, rgba(255,255,255,0.7), transparent);
  background-size: 360px 360px;
  opacity: 0.75;
  animation: rise 150s linear infinite, twinkle 6s ease-in-out infinite;
}

.bg__stars--near {
  background-image:
    radial-gradient(1.8px 1.8px at 110px 90px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2px 2px at 320px 300px, rgba(180,200,255,0.9), transparent);
  background-size: 480px 480px;
  opacity: 0.9;
  animation: rise 90s linear infinite, twinkle 4.5s ease-in-out infinite;
}

@keyframes rise {
  from { background-position: 0 0; }
  to   { background-position: 0 -1000px; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 0.55; }
}

/* soften edges */
.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 40%, transparent 55%, rgba(2,8,7,0.7) 100%);
  pointer-events: none;
}

/* ---------- Card ---------- */
.card {
  width: 100%;
  max-width: var(--card-max);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(47, 212, 181, 0.45);
  box-shadow:
    0 0 0 8px rgba(47, 212, 181, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(47, 212, 181, 0.25);
}

.name {
  margin: 0.4rem 0 0;
  font-family: "Exo 2", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: clamp(2.1rem, 7.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(47, 212, 181, 0.3);
}

.tagline {
  margin: 0;
  font-size: clamp(0.9rem, 2.6vw, 1.05rem);
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.socials {
  display: flex;
  gap: 1.5rem;
  margin: 0.3rem 0;
}

.social {
  color: var(--text-dim);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.social:hover {
  color: #fff;
  transform: translateY(-3px);
  background: rgba(47, 212, 181, 0.12);
}

.blurb {
  margin: 0.3rem 0 0;
  max-width: 46ch;
  line-height: 1.75;
  font-size: clamp(0.92rem, 2.4vw, 1rem);
  color: var(--text-dim);
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bg__aurora,
  .bg__stars,
  .card { animation: none; }
}
