:root {
  --neon-green: #00ff00;
  --neon-dim: #003300;
  --neon-pink: #ff00ff;
  --neon-cyan: #00ffff;
  --bg-color: #050505;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--neon-green);
  font-family: 'Courier New', monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Фон (матрица) */
#retroTrail {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: 0.3;
}

.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}

/* Кнопка НАЗАД */
.back-link {
  display: inline-block;
  color: var(--neon-pink);
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 30px;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  text-shadow: 2px 2px 0 #330033;
}
.back-link:hover {
  background: var(--neon-pink);
  color: #fff;
}

/* 3D  */
.title-3d {
  font-family: 'Press Start 2P', cursive;
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  text-shadow: 
      1px 1px 0px #004400,
      2px 2px 0px #004400,
      3px 3px 0px #004400,
      4px 4px 0px #004400,
      0 0 20px rgba(0, 255, 0, 0.5);
  transform: rotate(-1deg);
  animation: floatText 5s ease-in-out infinite;
}

@keyframes floatText {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

.text-block {
  background: rgba(0, 15, 0, 0.9);
  border: 1px dashed var(--neon-green); 
  padding: 30px;
  margin-bottom: 50px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
}

/* Метка [ READ_ONLY ] сверху */
.text-block::after {
  content: "[ READ_ONLY ]";
  position: absolute;
  top: -12px;
  right: 20px;
  background: #000;
  padding: 0 10px;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.6rem;
  color: var(--neon-green);
  border: 1px solid var(--neon-green); 
}

.text-block h2 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.1rem;
  color: var(--neon-cyan);
  margin-bottom: 20px;
  border-bottom: 2px dashed var(--neon-dim);
  padding-bottom: 10px;
}

.text-block p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #fff;
  
  white-space: pre-wrap; 
  word-wrap: break-word;
}

.text-block ul { margin-left: 20px; margin-bottom: 15px; }
.text-block li { list-style-type: square; color: #fff; margin-bottom: 5px; }

pre {
  background: #111;
  border: 1px solid #444;
  padding: 15px;
  overflow-x: auto;
  margin: 20px 0;
}
code {
  font-family: 'Courier New', monospace;
  color: #ffff00;
  font-weight: bold;
}

@media (max-width: 700px) {
  .title-3d { font-size: 1.5rem; }
  .text-block { padding: 15px; }
}