html {
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.index {
  align-items: center;
  background: #000;
  color: #fff;
  display: flex;
  font-family: 'Roboto Mono', monospace;
  font-size: 2rem;
  height: 100vh;
  justify-content: center;
  padding: 20px;
}

body.index .site-header {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 3rem;
}

body.index pre {
  animation: slideIn 0.8s ease-out both;
  font-family: 'Roboto Mono', monospace;
  font-size: 2rem;
  line-height: 1.2;
  white-space: pre;
}

body.index pre a {
  color: #E2E8F0;
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.index pre a::after {
  background: currentColor;
  bottom: -0.1em;
  content: '';
  height: 0.15em;
  left: 0;
  position: absolute;
  transition: width 0.2s ease;
  width: 0;
}

body.index pre a:hover {
  color: #E53E3E;
}

body.index pre a:hover::after {
  width: 100%;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  body.index {
    font-size: 1.25rem;
    padding: 10px;
  }
  body.index .site-header {
    font-size: 2rem;
  }
  body.index pre {
    font-size: 1.25rem;
    line-height: 1.1;
  }
}
