/* Общий фон и шрифт */
body {
  background: url('https://i.ibb.co/WrJPL3F/IMG-2273.jpg') repeat;
  background-size: cover;
  font-family: 'Courier New', monospace;
  color: #00ff00;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Контейнер с неоном и тенью */
.container {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 40px;
  margin: 60px auto;
  max-width: 900px;
  border: 3px dashed #ff00ff;
  box-shadow: 0 0 30px #00ff00;
  animation: neon-glow 2s infinite alternate;
}

@keyframes neon-glow {
  0% { box-shadow: 0 0 10px #ff00ff; }
  100% { box-shadow: 0 0 25px #00ff00; }
}

/* Заголовки */
h1, h2, h3 {
  color: #ff00ff;
  text-shadow: 0 0 5px #ff00ff;
  text-align: center;
}

/* Текст */
p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Глитч-кнопки */
.glitch-button {
  background: #ff00ff;
  color: #000;
  font-weight: bold;
  border: 2px dashed #00ff00;
  padding: 12px 24px;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  animation: glitch 0.6s infinite alternate;
  margin-top: 20px;
}

.glitch-button:hover {
  background: #00ff00;
  color: #000;
}

@keyframes glitch {
  0% { transform: rotate(-1deg); }
  100% { transform: rotate(1deg); }
}

/* Для страшных/загадочных секций */
.section {
  border-left: 4px solid #ff00ff;
  padding-left: 20px;
  margin-bottom: 40px;
  animation: hue-cycle 5s infinite;
}

@keyframes hue-cycle {
  0% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(45deg); }
  100% { filter: hue-rotate(0deg); }
}

/* Ошибки и системные сбои */
.system-error {
  background: #111;
  padding: 15px;
  border: 2px dashed red;
  color: red;
  font-family: monospace;
  margin-top: 20px;
}

/* Цитаты и шёпоты */
.quote {
  background: #222;
  padding: 15px;
  border-left: 5px solid #00ff00;
  font-style: italic;
  color: #ccc;
  margin-top: 20px;
}

/* Пунктированный список */
ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
}

/* Обложки и изображения */
.cover-img, .character-img {
  width: 100%;
  max-width: 500px;
  border: 3px dashed #00ff00;
  box-shadow: 0 0 15px #00ff00;
  margin: 20px auto;
  display: block;
  animation: infectedPulse 6s infinite;
}

@keyframes infectedPulse {
  0% { transform: scale(1); filter: none; }
  50% { transform: scale(1.03) rotate(1deg); filter: brightness(1.1) hue-rotate(15deg); }
  100% { transform: scale(1); filter: none; }
}

/* Ссылки */
a {
  color: #ff00ff;
  text-decoration: underline dashed;
}

a:hover {
  color: #00ff00;
  text-shadow: 0 0 5px #00ff00;
}

/* Аудио/видео */
audio, video {
  width: 100%;
  border: 2px dashed #ff00ff;
  margin: 20px 0;
}

/* Кнопка "Назад" */
.back {
  display: inline-block;
  text-align: center;
  margin-top: 40px;
  color: #fff;
  text-decoration: none;
  border: 2px dashed #ff00ff;
  padding: 10px;
  background: #000;
  transition: all 0.3s ease;
}

.back:hover {
  background: #ff00ff;
  color: #000;
}

/* Подсказки */
.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ff00ff;
  color: #000;
  padding: 6px 10px;
  font-size: 12px;
  border: 1px dashed #00ff00;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
}

.item:hover .tooltip {
  opacity: 1;
}