/* File: styles.css */
:root {
  --projector-gray: #1a1a1a;
  --off-white:     #f2f2f2;
  --glitch-green:  #00FF88;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--projector-gray);
  color: var(--off-white);
  font-family: 'IBM Plex Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  position: relative;
}

.container {
  max-width: 3840px;
  padding: 2rem;
}

.title-area {
  margin-bottom: 3rem;
}

.sln-title {
  font-size: 8.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.stacked-title {
  display: inline-block;
  text-transform: uppercase;
}

.underline {
  width: 1040px;
  height: 5px;
  background-color: var(--off-white);
  margin: 20px auto 0;
}

.punchline-container {
  position: relative;
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2rem;
  color: var(--glitch-green);
  margin-top: 1rem;
  line-height: 1.2em;
  min-height: 3em;
}

.punchline {
  display: inline;
  white-space: normal;
  word-break: break-word;
}

.blinky {
  animation: blink 0.5s step-start infinite;
  font-family: 'IBM Plex Mono', monospace;
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
  color: var(--glitch-green);
  display: inline;
  pointer-events: none;
}

.blinky.fadeout {
  animation: none;
  opacity: 0;
}

.footer-meta {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.bug .underscore {
  color: var(--glitch-green);
  animation: blink 1.3s step-start infinite;
}

/* Mobile tweaks */
@media screen and (max-width: 768px) {
  .sln-title {
    font-size: 5rem;
  }

  .underline {
    width: 70vw;
  }

  .punchline-container {
    font-size: 1.1rem;
    max-width: 90vw;
    line-height: 1.4em;
    min-height: 3.5em;
    text-align: center;
  }

  .footer-meta {
    font-size: 1rem;
    bottom: 20px;
    left: 20px;
  }
}
