
body {
  margin: 0;
  padding: 0;
  background-color: #050000;
  font-family: monospace;
  overflow-x: hidden;
  overflow-y: auto; 
}



.code-stream {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  font-size: 14px;
  animation: fall linear 10s;
  pointer-events: none;
}

@keyframes fall {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(120vh); }
}


.glitch-word {
  display: inline-block;
  animation: flicker 3s infinite;
  margin-right: 4px;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 24%, 55% { opacity: 0; }
}


#ytb-translator-container {
  margin: 60px auto;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.1);
  z-index: 10;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}

#ytb-translator-container h2 {
  color: #4a0707;
  font-size: 22px;
  margin-bottom: 10px;
}


#ytbInput {
  width: 90%;
  height: 100px;
  background-color: #111;
  color: #eee;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 15px;
  margin-top: 10px;
  resize: none;
}


#ytb-translator-container button {
  margin-top: 10px;
  background-color: #222;
  color: #fff;
  border: 1px solid #666;
  padding: 8px 16px;
  font-family: monospace;
  border-radius: 6px;
  cursor: pointer;
}

#ytb-translator-container button:hover {
  background-color: #333;
}


#ytbResultado {
  margin-top: 20px;
  padding: 12px;
  font-family: monospace;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 16px;
  text-align: left;
}

.ytb-trad-ok {
  color: white;
}


.borroso {
  color: white;
  filter: blur(2px) contrast(120%);
  text-shadow: 0 0 8px #ccc, 0 0 12px white;
  pointer-events: none;
  animation: glitch-borroso 1s infinite steps(2, jump-none);
}

@keyframes glitch-borroso {
  0% { transform: translate(0, 0); opacity: 1; }
  20% { transform: translate(1px, -1px); opacity: 0.8; }
  40% { transform: translate(-1px, 1px); opacity: 0.9; }
  60% { transform: translate(1px, 1px); opacity: 1; }
  80% { transform: translate(-1px, -1px); opacity: 0.85; }
  100% { transform: translate(0, 0); opacity: 1; }
}

.ytb-farzzr {
  color: white;
  background-color: #000;
  font-weight: bold;
  font-family: monospace;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  animation: pulse-farzzr 1.5s infinite alternate;
}

@keyframes pulse-farzzr {
  from { text-shadow: 0 0 4px red; }
  to   { text-shadow: 0 0 12px red, 0 0 6px white; }
}

.ytb-bloqueado {
  background-color: black;
  color: red;
  font-size: 20px;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
}

.corrupto {
  color: white;
  text-shadow: 0 0 4px #f00, 0 0 6px #fff;
  animation: corrupto-glitch 2.2s infinite steps(2, jump-none);
  display: inline-block;
  filter: contrast(130%) blur(1px);
}

@keyframes corrupto-glitch {
  0% { transform: translate(0, 0); opacity: 1; }
  25% { transform: translate(1px, -1px); opacity: 0.9; }
  50% { transform: translate(-1px, 1px); opacity: 1; }
  75% { transform: translate(1px, 1px); opacity: 0.8; }
  100% { transform: translate(0, 0); opacity: 1; }
}

.ytb-humo {
  position: relative;
  color: #c10000;
  font-family: 'Courier New', monospace;
  animation: humo 4s infinite alternate;
}

@keyframes humo {
  0% {
    text-shadow:
      0 0 5px rgba(255, 0, 0, 0.3),
      0 0 20px rgba(80, 0, 0, 0.5),
      0 0 40px rgba(40, 0, 0, 0.7);
    filter: blur(0.4px);
  }
  100% {
    text-shadow:
      0 0 10px rgba(255, 30, 30, 0.6),
      0 0 30px rgba(120, 0, 0, 0.9),
      0 0 60px rgba(0, 0, 0, 1);
    filter: blur(1.2px);
  }
}

.rayo-rojo {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top,
    rgba(255, 0, 0, 0.45),
    rgba(120, 0, 0, 0.15),
    rgba(0, 0, 0, 0.95)
  );
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 480px) {
  #ytbInput {
    height: 80px;
    font-size: 14px;
  }

  #ytbResultado {
    font-size: 15px;
  }
}
