:root {
  --bg-primary: #090c15;
  --bg-card: rgba(17, 24, 43, 0.6);
  --bg-card-hover: rgba(25, 34, 60, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.45);
  
  --accent-primary: #6366f1;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --status-live: #10b981;
  --status-live-bg: rgba(16, 185, 129, 0.12);
  --status-live-border: rgba(16, 185, 129, 0.3);
  
  --status-beta: #8b5cf6;
  --status-beta-bg: rgba(139, 92, 246, 0.12);
  --status-beta-border: rgba(139, 92, 246, 0.3);
  
  --status-wip: #f59e0b;
  --status-wip-bg: rgba(245, 158, 11, 0.12);
  --status-wip-border: rgba(245, 158, 11, 0.3);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-full: 9999px;
  
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.glow-top {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  top: -150px;
  left: 20%;
}

.glow-bottom {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  bottom: 0%;
  right: 15%;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  position: relative;
  z-index: 1;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--text-secondary);
  font-weight: 400;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.nav-link svg {
  width: 16px;
  height: 16px;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.15);
}

.project-content {
  flex: 1;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-live {
  background: var(--status-live-bg);
  border: 1px solid var(--status-live-border);
  color: #34d399;
}
.status-live .status-dot {
  background: var(--status-live);
  box-shadow: 0 0 6px var(--status-live);
}

.status-beta {
  background: var(--status-beta-bg);
  border: 1px solid var(--status-beta-border);
  color: #a78bfa;
}
.status-beta .status-dot {
  background: var(--status-beta);
  box-shadow: 0 0 6px var(--status-beta);
}

.status-wip {
  background: var(--status-wip-bg);
  border: 1px solid var(--status-wip-border);
  color: #fbbf24;
}
.status-wip .status-dot {
  background: var(--status-wip);
  box-shadow: 0 0 6px var(--status-wip);
}

.project-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.55rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.project-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.project-card:hover .project-arrow svg {
  transform: translate(2px, -2px);
  color: var(--accent-primary);
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--text-primary);
}

@media (max-width: 500px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .project-card {
    padding: 1rem 1.15rem;
  }
}
