:root {
  --bg-image: url("bg_alt.png");
  --sidebar-image: url("texture2.png");
  --bg-scroll-speed: 10s;
  --text-color: #ff2222;
  --accent-color: #ff0000;
  --sidebar-bg: rgba(10, 0, 0, 0.2);
  --click-size: 120px;
}

@keyframes bgmove {
  0% { background-position: 0 0; }
  100% { background-position: 2000px 1000px; }
}

@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.6; }
}

body {
  background-color: #000;
  background-image: var(--bg-image);
  background-repeat: repeat;
  background-size: 250px 250px;
  animation: bgmove var(--bg-scroll-speed) linear infinite;
  font-family: "MS Gothic", "Courier New", monospace;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  filter: contrast(1.4) brightness(1.1);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 160px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--accent-color);
  overflow-y: auto;
  font-size: 12px;
  z-index: 2;
}
.sidebar.left { left: 0; }
.sidebar.right { right: 0; border-right: none; border-left: 1px solid var(--accent-color); }

.sidebar a {
  display: block;
  padding: 8px;
  text-decoration: none;
  color: var(--text-color);
  background: rgba(0,0,0,0);
  text-shadow: 0 0 6px #800000;
  transition: all 0.2s ease;
}
.sidebar a:hover {
  background: rgba(255,0,0,0.15);
  color: #fff;
  text-shadow: 0 0 8px var(--accent-color);
}

.main {
  margin: 0 190px;
  padding: 60px 30px 200px;
  text-align: center;
  position: relative;
  z-index: 1;
}

h1 {
  font-family: "Courier New", monospace;
  font-weight: medium;
  font-size: 36px;
  letter-spacing: 4px;
  color: var(--accent-color);
  transform: skewX(-6deg) scaleY(1.1);
  filter: contrast(2) brightness(1);
  animation: flicker 3s infinite steps(2, start);
  text-shadow:
    2px 2px 0 #000,
    -2px -1px 0 #400000,
    1px -1px 0 #800000,
    0 0 6px var(--accent-color),
    0 0 18px #900000;
  margin-bottom: 50px;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
  margin: 20px auto;
  width: 70%;
  opacity: 0.5;
}

p {
  color: var(--text-color);
  text-shadow: 0 0 5px #330000;
  font-size: 14px;
  margin: 25px auto;
  max-width: 700px;
}

a {
  color: var(--text-color);
}
a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--accent-color);
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  margin: 40px 0;
}

.marquee-text {
  display: inline-block;
  font-size: 12px;
  color: #880000;
  white-space: nowrap;
  animation: scrollText 25s linear infinite;
  text-shadow: 0 0 8px #660000;
}

.clicks {
  margin: 60px 0;
}
.clicks a {
  display: inline-block;
}
.clicks img {
  width: var(--click-size);
  height: auto;
  margin: 0 20px;
  image-rendering: pixelated;
  border: 1px solid var(--accent-color);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.clicks img:hover {
  filter: brightness(1.6) contrast(1.6);
  transform: scale(1.1);
}

.footer {
  font-size: 11px;
  color: #a00;
  margin-top: 100px;
  text-shadow: 0 0 5px #300;
  opacity: 0.8;
}