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

body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: 'Zalando Sans SemiExpanded', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  height: 100vh;
  font-weight: 100;
  overflow: hidden;
  position: relative;
}

/* CRT Scanline Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.35) 50%
  );
  background-size: 100% 3px;
  animation: scanline 6s linear infinite;
}

@keyframes scanline {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}

/* Subtle chromatic aberration on hover */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 255, 255, 0.03) 100%);
  animation: chromatic 3s ease-in-out infinite;
}

@keyframes chromatic {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
  will-change: transform, opacity;
}

.content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 5%;
  padding-right: 5%;
}

.title {
  font-family: 'Zalando Sans SemiExpanded', sans-serif;
  font-size: clamp(2.5rem, 12vw, 10rem);
  font-weight: 200;
  letter-spacing: -0.05em;
  margin-bottom: 3rem;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


.jobs-content {
  font-size: 1.25rem;
  line-height: 1.8;
  opacity: 0;
  max-width: 900px;
  animation: fadeIn 1s ease-in forwards;
  animation-delay: 1s;
  font-family: 'Courier New', Courier, monospace;
  color: rgba(255, 255, 255, 0.7);
}

.jobs-content.visible {
  opacity: 1;
}

.jobs-content p {
  margin-bottom: 1.5rem;
}

.jobs-content p:last-child {
  margin-bottom: 0;
}

.jobs-content a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.jobs-content a:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration-color: rgba(255, 255, 255, 0.8);
}


/* Empty prompt lines */
.jobs-content p.prompt-empty {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}

.description {
  font-size: 1.25rem;
  line-height: 1.8;
  opacity: 0;
  max-width: 900px;
  position: relative;
  animation: fadeIn 1s ease-in forwards;
  animation-delay: 1s;
  font-family: 'Courier New', Courier, monospace;
  color: rgba(255, 255, 255, 0.7);
}

.description.visible {
  opacity: 1;
}

.description a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.description a:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

.description::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 1.5em;
  background-color: #ffffff;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  padding: 2rem 0;
  opacity: 0;
  transition: opacity 1s ease-in;
}

.footer.visible {
  opacity: 1;
}

.footer-nav {
  padding-left: 5%;
  display: flex;
  gap: 3.5rem;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.6;
  transition: all 0.2s ease;
  font-weight: 200;
  font-family: 'Courier New', Courier, monospace;
  position: relative;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-nav a .link-address {
  transition: opacity 0.2s ease;
}

.footer-nav a .link-text {
  position: absolute;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover .link-address {
  opacity: 0;
}

.footer-nav a:hover .link-text {
  opacity: 1;
}

/* Binary Clock */
.binary-clock {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  opacity: 0.4;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  line-height: 1.2;
  user-select: none;
  transition: opacity 0.3s ease;
}

.binary-clock:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .description {
    font-size: 1rem;
  }

  .content {
    padding-left: 5%;
    padding-right: 5%;
  }
}
