html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #1A1A1A;
  color: #eee;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

.top-name-container {
  position: absolute;
  top: 32px; 
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10; 
}

#top-name {
  display: inline-block; 
  font-size: 36px;
  font-weight: 600;
  background: linear-gradient(90deg, #eee 75%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-20px); 
  transition: transform 1s ease-out; 
  opacity: 0;
  white-space: nowrap; 
  position: relative; 
}

#top-name.show {
  transform: translateY(0); 
  opacity: 1; 
}

.container {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  padding: 32px; 
  box-sizing: border-box;
  text-align: center;
  position: relative; 
}

h1 {
  display: inline-block;
  font-size: 36px;
  max-width: 90vw;
  line-height: 1.2;
  font-weight: 600;
  white-space: pre-line;
  overflow-wrap: break-word;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #eee 75%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  transition: color 0.3s;
  margin-top: 0; 
}

#headline.typing::after {
  content: '';
  display: inline-block;
  width: 1.28px; 
  height: 28.8px; 
  background: #eee;
  margin-left: 2px;
  vertical-align: bottom;
  animation: caret-blink 1s steps(1) infinite;
  position: absolute;
  right: 0;
  bottom: 4.8px; 
}

@keyframes caret-blink {
  50% { opacity: 0; }
}


.highlight-bg {
  color: #fff !important;
  background: linear-gradient(270deg, #8f5fff, #06bfff, #8f5fff, #06bfff);
  background-size: 400% 400%;
  animation: gradientMove 5s ease-in-out infinite;
  border-radius: 6.4px; 
  padding: 3.2px 12.8px; 
  box-shadow: 0 2px 24px 0 #8f5fff44;
  -webkit-background-clip: padding-box;
  -webkit-text-fill-color: #fff;
  transition: background 0.8s cubic-bezier(.7,.4,.18,1);
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#pills-container {
  width: 70vw;
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  gap: 10px; 
  opacity: 0; 
  transform: translateY(20px); 
  transition: opacity 1s ease-out, transform 1s ease-out; 
  padding: 0 16px; 
}
.pill {
  background-color: #eee;
  color: #1A1A1A; 
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 20px; 
  cursor: default; 
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px #eee; 
}

.show-more-pills {
  cursor: pointer;
}

.d-none {
  display: none; 
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  #top-name {
    font-size: 32px;
  }
  h1 {
    font-size: 32px; 
  }
  #headline.typing::after, #top-name.typing::after {
    height: 25.6px; 
    bottom: 4.8px; 
  }
}

@media (max-width: 600px) {
  .top-name-container {
    top: 16px; 
  }
  #top-name {
    font-size: 28px;
  }
  h1 {
    font-size: 22px;
  }
  .highlight-bg {
    font-size: 19.2px; 
    padding: 2.4px 8px; 
  }
  #headline.typing::after, #top-name.typing::after {
    height: 19.2px; 
    bottom: 3.6px; 
  }
  #pills-container {
    width: 90vw;
    margin-top: 20px;
  }
  .pill {
    font-size: 16px;
    padding: 6px 10px;
  }
}

#blobs-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.50;
  will-change: transform, opacity;
  transition: opacity 0.4s;
  pointer-events: none;
}