
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=JetBrains+Mono:wght@400;700&display=swap');

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

:root {
  --bg:        oklch(0.1822 0 0);
  --surface:   oklch(0.2046 0 0);
  --popover:   oklch(0.2603 0 0);
  --border:    oklch(0.2809 0 0);
  --input:     oklch(0.2603 0 0);
  --fg:        oklch(0.9288 0.0126 255.5078);
  --muted-fg:  oklch(0.7122 0 0);
  --primary:   oklch(0.4365 0.1044 156.7556);
  --primary-fg:oklch(0.9213 0.0135 167.1556);
  --ring:      oklch(0.8003 0.1821 151.7110);
  --destructive: oklch(0.3123 0.0852 29.7877);
  --muted:     oklch(0.2393 0 0);
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 4rem 2rem;
}

/* Green ambient glow */
body::before {
  content: '';
  position: fixed;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse, oklch(0.8003 0.1821 151.7110 / 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle grid texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(oklch(0.2809 0 0 / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.2809 0 0 / 0.4) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 540px;
  width: 100%;
  text-align: center;
}

/* Profile Section */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 80px;
  height: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ring);
  box-shadow: 0 10px 30px oklch(0 0 0 / 0.3);
  margin-bottom: 0.5rem;
}

.profile h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.profile p {
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.6;
  max-width: 380px;
}

/* Links Container */
.links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, oklch(0.8003 0.1821 151.7110 / 0.03), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: oklch(0.8003 0.1821 151.7110 / 0.4);
  background: var(--popover);
  box-shadow: 0 10px 25px oklch(0 0 0 / 0.2);
}

.link-card:hover::before {
  transform: translateX(100%);
}

.link-icon {
  width: 44px; height: 44px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ring);
  flex-shrink: 0;
}

.link-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.link-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
}

.link-description {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.chevron {
  color: var(--border);
  transition: transform 0.2s, color 0.2s;
}

.link-card:hover .chevron {
  transform: translateX(3px);
  color: var(--ring);
}

/* Footer */
.footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: oklch(0.4 0 0);
}

.footer a {
  color: oklch(0.4 0 0);
  text-decoration: none;
  transition: color 0.15s;
}

.footer a:hover { color: var(--muted-fg); }

.footer-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: oklch(0.35 0 0);
}

@media (max-width: 480px) {
  body { padding: 2rem 1.5rem; }
  .container { gap: 2rem; }
  .avatar { width: 64px; height: 64px; }
  .link-card { padding: 0.85rem; }
}
