body { 
  background-color: #edf0f2; 
  color: #1a1c3a; 
  font-family:'Courier Prime', 'JetBrains Mono', monospace; 
  margin: 0; padding: 0; 

  background-image: radial-gradient(#cbd2d9 0.5px, transparent 0.5px);
  background-size: 20px 20px;
}

.top-banner { position: relative; width: 100%; height: 200px; 
  border-bottom: 3px solid #a62c2b;
  overflow: hidden; 
}
.banner-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%) contrast(1.1); }
.banner-overlay { 
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 28, 58, 0.6);
}
.banner-overlay h1 { 
  color: #fff!important; font-size: 2.2em; letter-spacing: 8px; 
  margin: 0; text-transform: uppercase; 
}

nav { text-align: center;background: #1a1c3a; padding: 12px; }
nav a { color: #dcddee!important; margin: 0 15px; text-decoration: none; font-size: 0.85em; text-transform: uppercase; letter-spacing: 2px; }
nav a:hover { color: #fff!important; background: #a62c2b; padding: 5px 10px; transition: 0.2s; }

.container { 
  max-width: 750px; margin: 30px auto; background: #fff; padding: 30px; 
  border: 1px solid #1a1c3a;
  box-shadow: 5px 5px 0px rgba(26, 28, 58, 0.1); 
}

h2 { color: #a62c2b; border-bottom: 1px dashed #1a1c3a; padding-bottom: 5px; }
p { line-height: 1.6; margin-bottom: 15px; }

a { color: #484d8f; text-decoration: underline; }
a:hover { color: #a62c2b; }
img { image-rendering: pixelated; }
.hidden-text {
  color: transparent;
  transition: 0.8s;
  cursor: help;
  text-align: center;
  margin-top: 30px;
  font-style: italic;
}

.hidden-text:hover {
  color: #a62c2b;
  text-shadow: 0 0 5px #dcddee;
}
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes noise {
  0% { text-shadow: 2px 0 #ff00c1, -2px 0 #00fff9; }
  50% { text-shadow: -2px 0 #ff00c1, 2px 0 #00fff9; }
  100% { text-shadow: 2px 0 #ff00c1, -2px 0 #00fff9; }
}
@keyframes board-glitch {
  0% { clip-path: inset(40% 0 61% 0); transform: translate(-5px, 2px); }
  20% { clip-path: inset(92% 0 1% 0); transform: translate(5px, -3px); }
  40% { clip-path: inset(43% 0 1% 0); transform: translate(-5px, 3px); }
  60% { clip-path: inset(25% 0 58% 0); transform: translate(5px, -2px); }
  80% { clip-path: inset(54% 0 7% 0); transform: translate(-5px, 2px); }
  100% { clip-path: inset(58% 0 43% 0); transform: translate(5px, -3px); }
}

.header-glitch:hover {
  position: relative;
  text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
              -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
              0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  animation: board-glitch 0.4s infinite;
}

.header-glitch:hover::before,
.header-glitch:hover::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.header-glitch:hover::before {
  color: #ff00c1;
  z-index: -1;
  animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

.glitch-hover:hover {
  animation: glitch 0.2s infinite, noise 0.1s infinite;
  color: #a62c2b !important; 
  cursor: help;
}

.matryoshka-portal {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  position: relative;

  transform-origin: bottom center;
  transition: transform 0.5s ease-in-out;
}

.matryoshka-portal:hover {
  animation: wobble 2s infinite ease-in-out;
}

@keyframes wobble {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.matryoshka-frame {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('favicon.ico') no-repeat center;
  background-size: contain;
  z-index: 2;
  pointer-events: none;
  image-rendering: pixelated;
}

.content-inside {
  position: absolute;
  top: 15%; left: 15%;
  width: 70%; height: 70%;
  z-index: 1;
  background: #000;
}

.stalker-doll {
    position: fixed;
    bottom: 20px;   
    right: 20px;    
    width: 80px;    
    height: auto;
    z-index: 9999;   
    image-rendering: pixelated;
    filter: drop-shadow(0 0 5px rgba(166, 44, 43, 0.5)); 
    transition: transform 0.3s ease;
    cursor: help;
}

.stalker-doll:hover {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 10px #a62c2b);
}