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

body {
  background-color: #fbf8f2;
  color: #000000;
  font-family: 'Space Mono', monospace;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  background-color: rgba(251, 248, 242, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
}

.header-left {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-left a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 10000;
}

.header-left a:hover {
  opacity: 0.5;
}

nav { display: flex; gap: 2rem; }

nav a {
  color: #000000;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 10000;
}

nav a:hover { opacity: 0.5; }

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5vw;
  min-height: 100vh;
  padding: 100px 2rem 2rem 2rem; 
  flex-wrap: wrap;
}

.cluster {
  position: relative;
  width: 450px;
  height: 450px;
}

.node-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fbf8f2; 
  padding: 0.5rem 1rem;
  z-index: 10;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555555; 
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.node-center:hover {
  color: #6f4e37; 
  transform: translate(-50%, -50%) scale(1.1);
}

.node-project {
  position: absolute;
  background-color: rgba(251, 248, 242, 0.3); 
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  
  padding: 0.2rem 0.5rem;
  z-index: 10;
  color: #000000;
  font-size: 0.85rem;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  cursor: default;
}

.lines-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.lines-container line {
  stroke: #000000;
  stroke-width: 0.8px;
  opacity: 0.5;
}

@media (max-width: 900px) {
  header { flex-direction: column; gap: 1rem; padding: 1.5rem; }
  .cluster { width: 100%; height: 350px; max-width: 400px; }
  .main-content { gap: 2rem; padding-top: 150px; }
}