/* GLITCHSLANGBOT CSS — style brutaliste, glitché et punk */

body {
  background: #000;
  color: #f5f5f5;
  font-family: 'Courier New', monospace;
  margin: 0;
  padding: 2rem;
  overflow-x: hidden;
}

.header-inner,
.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header Nav */
.nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-family: monospace;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #f0f0f0;
}

.nav a {
  color: #0ff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.2s;
}

.nav a:hover {
  border-bottom: 1px solid #f0f;
  color: #f0f;
}

/* Ticker */
.ticker-container {
  background: #111;
  color: #0ff;
  font-size: 0.85rem;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 0.5rem 1rem;
}

.ticker {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-text {
    animation: scrollTicker 18s linear infinite;
  }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Footer */
.footer {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: #888;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-links a:hover {
  color: #0ff;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.7rem;
  color: #555;
}

.glitch-title {
  font-size: 2.5rem;
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
  position: relative;
  color: #fff;
  margin-bottom: 2rem;
  animation: glitch 1s infinite;
}

.bot-container {
  max-width: 700px;
  margin: 0 auto;
}

.bot-form textarea,
.bot-form select,
.bot-form button {
  width: 100%;
  padding: 1rem;
  background: #111;
  color: #0ff;
  border: 1px solid #0ff;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: monospace;
  text-transform: uppercase;
}

.bot-form button {
  cursor: pointer;
  background: #0ff;
  color: #000;
  font-weight: bold;
  letter-spacing: 2px;
  transition: 0.2s ease;
}

.bot-form button:hover {
  background: #f0f;
  color: #fff;
}

.output {
  background: #111;
  border-left: 4px solid #0ff;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 1.2rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.output strong:first-child {
  color: #f0f;
  font-weight: bold;
}

.output strong:last-child {
  display: block;
  margin-top: 0.5rem;
  color: #0ff;
}

@keyframes glitch {
  0% { text-shadow: 2px 0 red, -2px 0 cyan; }
  20% { text-shadow: -2px 0 lime, 2px 0 magenta; }
  40% { text-shadow: 2px 2px yellow, -2px -2px blue; }
  60% { text-shadow: -2px 2px red, 2px -2px cyan; }
  80% { text-shadow: 0 0 2px white; }
  100% { text-shadow: 2px 0 red, -2px 0 cyan; }
}
