:root {
  --green: #00FF31;
}

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

html, body {
  height: 100%;
  background: black;
  color: var(--green);
  font-family: "Courier New", Courier, monospace;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100dvh;
  padding: 6vh 1rem 2rem;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 10vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.tagline {
  font-size: clamp(1rem, 3vw, 1.5rem);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.ascii-matrix-list {
  font-size: clamp(1rem, 3vw, 1.4rem);
}

.ascii-matrix-list p {
  margin: 0.25rem 0;
  opacity: 0;
  transform: translateY(-10px);
  animation: dropIn 0.4s ease forwards;
  font-weight: 400;
}

@keyframes dropIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: var(--green);
  text-decoration: none;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--green);
  transform: translate(-100%, -50%);
  opacity: 0;
}

a:hover::after {
  opacity: 1;
  animation: scanLine 0.8s linear infinite alternate;
}

@keyframes scanLine {
  from {
    transform: translate(-100%, -50%);
  }
  to {
    transform: translate(100%, -50%);
  }
}

.contact-block {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.contact-block a {
  display: block;
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 400;
  color: var(--green);
  word-break: break-all;
}