I live in Berkeley near campus. As long as you take normal precautions you would want to take in any urban area (don’t leave your laptop unattended, pay attention as you walk, don’t engage aggressive homeless people, etc.), it’s fine. We are raising kids here, and the high school/older kids move around freely/take public transit. It’s a great town. Congratulations on your acceptance!