html, body {
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.ascii-border {
  position: fixed;
  font-family: "JetBrains Mono", "Fira Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 12px;
  color: #eaeaea;
  white-space: pre;
  overflow: hidden;
  z-index: 10;
}

#border-top {
  top: 20px;
  left: 20px;
  right: 20px;
  height: 24px;
}

#border-bottom {
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: 24px;
}

#border-left {
  top: 44px;
  left: 20px;
  bottom: 44px;
  width: 24px;
}

#border-right {
  top: 44px;
  right: 20px;
  bottom: 44px;
  width: 24px;
}

#sparkles-container {
  position: fixed;
  top: 44px;
  left: 44px;
  right: 44px;
  bottom: 44px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  font-family: "JetBrains Mono", "Fira Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 12px;
  color: #eaeaea;
  opacity: 0;
  animation: sparkle-anim 1.5s ease-in-out;
  margin: 0;
  white-space: pre;
  text-align: center;
}

@keyframes sparkle-anim {
  0% { opacity: 0; transform: scale(0.5); }
  25% { opacity: 1; transform: scale(1.2); }
  50% { opacity: 1; transform: scale(1); }
  75% { opacity: 0.5; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(0.5); }
}

#ascii {
  font-family: "JetBrains Mono", "Fira Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0px;
  white-space: pre;
  color: #eaeaea;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

#typing-text {
  position: fixed;
  bottom: 48px;
  right: 48px;
  font-family: "JetBrains Mono", "Fira Mono", Consolas, monospace;
  font-size: 24px;
  line-height: 24px;
  color: #eaeaea;
  z-index: 10;
  white-space: pre;
}

/* Mobile styles */
@media (max-width: 768px) {
  .ascii-border {
    font-size: 8px;
    line-height: 8px;
  }

  #border-top,
  #border-bottom {
    height: 16px;
  }

  #border-left,
  #border-right {
    width: 16px;
  }

  #border-left,
  #border-right {
    top: 36px;
    bottom: 36px;
  }

  #ascii {
    font-size: 6px;
    line-height: 6px;
  }

  #sparkles-container {
    top: 36px;
    left: 36px;
    right: 36px;
    bottom: 36px;
  }

  .sparkle {
    font-size: 8px;
    line-height: 8px;
  }

  #typing-text {
    bottom: 40px;
    right: 40px;
    font-size: 20px;
    line-height: 20px;
  }
}
