:root {
  --black: #050705;
  --black-soft: #0c110c;
  --card: #10160f;
  --green: #00ff6a;
  --green-dim: #00c853;
  --green-glow: rgba(0, 255, 106, 0.35);
  --text-dim: #8fae95;
}

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

body {
  background: var(--black);
  color: var(--green);
  font-family: 'Sora', sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Falling money background ---------- */

#money-rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.money-bit {
  position: absolute;
  top: -10%;
  color: var(--green-dim);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  opacity: 0.18;
  user-select: none;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
  }
  100% {
    transform: translateY(115vh) rotate(360deg);
  }
}

/* subtle vertical vignette so content stays readable */
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--black) 85%);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Layout ---------- */

main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  width: 100%;
}

/* ---------- Page ---------- */

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  gap: 18px;
}

.scanlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 106, 0.025) 0px,
    rgba(0, 255, 106, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #143a1e, var(--black-soft) 70%);
  border: 2px solid var(--green-dim);
  box-shadow: 0 0 24px var(--green-glow), inset 0 0 18px rgba(0, 255, 106, 0.15);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: pop-in 0.7s ease-out 0.1s forwards;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.avatar img.show {
  display: block;
}

.avatar span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 42px;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 12px var(--green-glow);
}

.name {
  position: relative;
  z-index: 2;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
  text-shadow: 0 0 22px var(--green-glow);
  opacity: 0;
  animation: pop-in 0.7s ease-out 0.25s forwards;
}

.tagline {
  position: relative;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: pop-in 0.7s ease-out 0.4s forwards;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-line {
  position: relative;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--green-dim);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: pop-in 0.7s ease-out 0.55s forwards;
}

.cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.about {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  margin-top: 6px;
  opacity: 0;
  animation: pop-in 0.7s ease-out 0.65s forwards;
}

.about-title {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.about-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.link-list {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid rgba(0, 255, 106, 0.25);
  border-radius: 12px;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.link-item:hover,
.link-item:focus-visible {
  border-color: var(--green);
  background: #141d13;
  box-shadow: 0 0 20px var(--green-glow);
  transform: translateY(-2px);
}

.link-icon {
  width: 28px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: filter 0.25s;
}

/* ---------- Single-link hero CTA ---------- */

.cta-lead {
  position: relative;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-top: 4px;
  opacity: 0;
  animation: pop-in 0.7s ease-out 0.8s forwards;
}

.link-list:has(.link-item:only-child) {
  max-width: 320px;
}

.link-item:only-child {
  justify-content: center;
  padding: 26px 32px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-width: 2px;
  border-color: var(--green);
  box-shadow: 0 0 24px var(--green-glow);
  animation: cta-pulse 2.4s ease-in-out infinite;
}

.link-item:only-child .link-icon svg {
  width: 24px;
  height: 24px;
}

.link-item:only-child:hover,
.link-item:only-child:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 36px var(--green-glow);
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 0 24px var(--green-glow);
  }
  50% {
    box-shadow: 0 0 40px 6px var(--green-glow);
  }
}

.link-item:hover .link-icon svg {
  filter: drop-shadow(0 0 4px var(--green-glow));
}

.link-label {
  flex: 1;
}

.link-arrow {
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  text-align: center;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (max-width: 420px) {
  .link-item {
    padding: 14px 16px;
    font-size: 0.92rem;
  }
}

/* ---------- Cursor money trail ---------- */

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  text-shadow: 0 0 8px var(--green-glow);
  animation: trail-fade 0.7s ease-out forwards;
}

@keyframes trail-fade {
  to {
    transform: translateY(-26px) scale(0.6);
    opacity: 0;
  }
}
