
html {
  height: 100%;
  width: 100%;
  font-family: 'Space Mono', monospace;
  background: #0a0a0f;
  color: #e0e0e0;
}

body {
  max-width: 64em;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

pre {
  width: 100%;
  max-width: 40em;
  margin: 0 auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Links */
a {
  color: #4CAF50;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  position: relative;
  display: inline-block;
}

a:hover {
  color: #0a0a0f;
  background: #4CAF50;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

/* Paperclip emoji styling */
div[style*="text-align: center"] {
  margin: 2em 0;
  font-size: 1.2em;
  text-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

/* Center text on specific pages */
body[data-page="index"] pre,
body[data-page="clip"] pre,
body[data-page="emulation"] pre {
  text-align: center;
}

/* Left-align text in about page */
body[data-page="about"] pre {
  text-align: left;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

body {
  animation: fadeIn 1s ease-out;
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Star field effect */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s infinite;
}

@keyframes twinkle {
  0% { opacity: 0; }
  50% { opacity: 0.8; }
  100% { opacity: 0; }
}
