

body.paul-terminal {
  background: radial-gradient(circle, #150013 0%, #0d0010 100%);
  font-family: 'Courier New', monospace;
  color: #fceaff;
  padding: 2em;
  animation: flicker 6s infinite;
  overflow-x: hidden;
}

.crt-monitor {
  position: relative;
  max-width: 1000px;
  aspect-ratio: 5 / 3;
  margin: 10vh auto;
  padding: 2em;
  border: 4px solid #00ffee;
  border-radius: 18px;
  background: radial-gradient(circle at center, #0a0010, #000000);
  box-shadow:
    0 0 25px #00ffeecc,
    0 0 60px #00ffccaa,
    inset 0 0 20px #00ffee22,
    inset 0 0 45px #00ffee11;
  backdrop-filter: blur(2px);
}

.link-wrapper {
  text-align: center;
  margin-top: 1.5em;
}

.user-input {
  color: #66ff99;
  font-weight: bold;
  text-shadow: 0 0 2px #33ff66;
}


.crt-screen {
  position: relative;
  height: 75%; 
  overflow-y: auto;
  scrollbar-width: none;        
  -ms-overflow-style: none; 
  background: rgba(0, 10, 10, 0.07);
  padding: 1.2em;
  border-radius: 16px;
  border: 1px solid #00ffee99;
  font-size: 1.05em;
  color: #f5d6ff;
  animation: textFlicker 8s infinite;
  box-shadow:
    inset 0 0 16px #00ffee33,
    inset 0 0 24px #00ffee22;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}


.crt-screen::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 20%;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
  z-index: 2;
}

.crt-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#terminal-input {
  margin-top: 1.2em;
  width: 100%;
  padding: 0.75em 1em;
  border: none;
  background: rgba(80, 0, 100, 0.15); 
  color: #ffccff; 
  border: 1px solid #ff66cc; 
  border-radius: 12px;
  font-family: inherit;
  font-size: 1em;
  outline: none;
  animation: flicker 6s infinite;
  box-shadow:
    inset 0 0 6px #66006688,   
    0 0 10px #ff66ccaa;     
  caret-color: #ff99ff;
}

#terminal-input::placeholder {
  color: #ff99cc;
  font-style: italic;
  font-weight: bold;
}



.rec-light {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 14px;
  height: 14px;
  background-color: #ff66cc;
  border-radius: 50%;
  box-shadow:
    0 0 8px #ff66cc,
    0 0 18px #ff33aa,
    0 0 36px #ff99dd,
    0 0 48px #ff66ccaa;
  animation: blinkRec 4.5s infinite ease-in-out;
  z-index: 10;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}


@keyframes blinkRec {
  0%, 100% {
    opacity: 1;
    box-shadow:
      0 0 6px #ff66cc,
      0 0 14px #ff33aa,
      0 0 28px #ff99dd,
      0 0 40px #ff66ccaa;
  }
  50% {
    opacity: 0.3;
    box-shadow:
      0 0 2px #ff66cc55,
      0 0 8px #ff339988,
      0 0 12px #ff66cc33;
  }
}


.glitchyline {
  position: relative;
  font-style: italic;
  color: #ff99ff;
  text-shadow:
    0 0 2px #ff99ff,
    0 0 4px #aa66cc;
  animation: flickerSoft 2.8s infinite;
  letter-spacing: 0.02em;
}


@keyframes flickerSoft {
  0%, 100% {
    opacity: 1;
  }
  45% {
    opacity: 0.88;
  }
  50% {
    opacity: 0.6;
  }
  55% {
    opacity: 0.92;
  }
}


body.music-mode {
  background: radial-gradient(circle, #0a0020, #100030);
  animation: pulseBg 6s infinite ease-in-out;
}

@keyframes pulseBg {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.1) saturate(1.2); }
}

body.chaos-mode {
  background: repeating-linear-gradient(45deg, #ff99ff, #99ffff, #ffff99, #ff99ff 10px);
  animation: chaosWiggle 0.3s infinite alternate;
}

@keyframes chaosWiggle {
  0% { transform: rotate(-0.2deg); }
  100% { transform: rotate(0.2deg); }
}



a {
  color: #ff80c0;
  text-decoration: none;
  border-bottom: 1px solid #ff80c0;
  animation: pulseLink 3s infinite;
}

@keyframes pulseLink {
  0%, 100% { text-shadow: 0 0 2px #ff80c0; }
  50% { text-shadow: 0 0 12px #ff66aa; }
}

body {
  background: radial-gradient(circle, #150013 0%, #0d0010 100%);
  font-family: 'Courier New', monospace;
  color: #fceaff;
  padding: 2em;
  line-height: 1.7;
  animation: flicker 6s infinite;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 200, 0.02),
    rgba(0, 255, 200, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: screen;
  animation: scanShift 6s infinite linear;
}

@keyframes scanShift {
  0% { transform: translateY(0); }
  100% { transform: translateY(2px); }
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 10vh auto;  
  padding: 1.5em;
  border-radius: 18px;
  box-sizing: border-box;
  background: rgba(0, 20, 20, 0.1);
  border: 2px solid #00ffcc;
  box-shadow:
    0 0 10px #00ffeeaa,
    0 0 25px #00ffccaa,
    0 0 45px #00ffee66;
  backdrop-filter: blur(2px);
  transition: box-shadow 0.3s ease-in-out;
}



h1 {
  font-size: 2.2em;
  color: #f5d6ff;
  margin-bottom: 0.2em;
  text-shadow: 1px 1px #550077;
}

h2 {
  font-size: 1em;
  color: #aa66cc;
  margin-top: 0;
  letter-spacing: 0.05em;
}



.glitchnote {
  font-style: italic;
  color: #caa0ff;
  margin-top: 2em;
  border-top: 1px solid #aa66cc;
  padding-top: 1em;
}


@media (max-width: 600px) {
  body {
    padding: 1em;
    font-size: 16px;
    line-height: 1.6;
  }

  .container,
  .crt-monitor,
  .crt-screen {
    width: 100%;
    max-width: 100%;
    padding: 1.2em 1em;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .crt-screen {
    font-size: 1em;
    line-height: 1.5;
    gap: 0.6em;
  }

  h1 {
    font-size: 1.6em;
  }

  h2 {
    font-size: 1em;
    margin-bottom: 1em;
  }

  .glitchnote {
    font-size: 0.9em;
    margin-top: 1.5em;
  }

  #terminal-input {
    font-size: 1em;
    padding: 0.8em;
    border-radius: 10px;
  }

  .paulbox {
    margin: 2vh auto;
    padding: 1.5em 1em;
  }
}
