/* Global Styles and Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

body, html {
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  font-family: 'Courier New', Courier, monospace;
  color: white;
  overflow: hidden;
}

#starfield {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Content */
.content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.logo {
  width: 700px;
  max-width: 90vw;
  height: auto;
  margin-bottom: 20px;
}

.typing {
  font-size: 0.9rem;
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 10px;
  color: #fff;
  word-break: break-word;
}

/* Skill boxes */
.skills-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 90vw;
  max-width: 1000px;
  z-index: 1;
}

.skill-box {
  background: rgba(255,255,255,0.05);
  padding: 15px 10px;
  width: 100px;
  height: 100px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skill-box:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}

.skill-box img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  filter: invert(0);
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .logo { width: 600px; }
  .typing { font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .logo { width: 450px; }
  .typing { font-size: 0.7rem; }
  .skill-box { width: 90px; height: 90px; font-size: 0.65rem; }
}

@media (max-width: 480px) {
  .logo { width: 320px; }
  .typing { font-size: 0.6rem; }
  .skills-container { gap: 10px; }
  .skill-box { width: 80px; height: 80px; font-size: 0.6rem; }
  .skill-box img { width: 28px; height: 28px; }
}
