@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* { margin:0; padding:0; box-sizing:border-box; }
body {
  background: #000;
  color: #aaa;
  font-family: 'VT323', monospace;
  font-size: 18px;
  line-height: 1.6;
}

/* subtle static overlay */
.static {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: url('https://files.catbox.moe/subtle-static.gif');
  opacity: 0.06;
  mix-blend-mode: overlay;
  z-index: 9999;
}

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #000;
}
.logo {
  font-size: 14px;
  letter-spacing: 8px;
  color: #444;
  margin-bottom: 30px;
}
h1 {
  font-size: 48px;
  font-weight: normal;
  color: #e0e0e0;
  letter-spacing: 10px;
  margin-bottom: 10px;
}
.tagline {
  font-size: 18px;
  color: #777;
  letter-spacing: 4px;
}

main { max-width: 1000px; margin: 0 auto; padding: 60px 20px; }

.trailer { text-align: center; margin-bottom: 50px; }
.trailer iframe {
  width: 100%;
  max-width: 860px;
  height: 484px;
  border: 1px solid #222;
}

.buttons { text-align: center; margin: 40px 0; }
.btn {
  display: inline-block;
  padding: 12px 30px;
  margin: 0 10px;
  border: 1px solid #444;
  color: #aaa;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}
.btn:hover { border-color: #fff; color: #fff; }
.btn.secondary { border-color: #333; color: #777; }

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 70px 0;
}
.screenshots img {
  width: 100%;
  border: 1px solid #222;
  image-rendering: pixelated;
}

.news {
  background: #0a0a0a;
  padding: 40px;
  border: 1px solid #111;
  text-align: center;
}
.news h2 { font-size: 24px; color: #ccc; margin-bottom: 30px; letter-spacing: 4px; }
.news article { margin: 35px 0; }
.news h3 { font-size: 20px; color: #fff; margin-bottom: 8px; }
.news small { font-size: 16px; color: #555; }

/* FORM STYLING — for submit.html and future forms */
form input,
form textarea,
form button {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  background: #000;
  border: 1px solid #333;
  color: #aaa;
  font-family: 'VT323', monospace;
  font-size: 18px;
  display: block;
}
form textarea { resize: vertical; }
form button {
  width: auto;
  display: inline-block;
  padding: 12px 40px;
  cursor: pointer;
}
form button:hover {
  border-color: #fff;
  color: #fff;
}

footer {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid #111;
  font-size: 16px;
  color: #444;
}
footer a {
  color: #666;
  margin: 0 15px;
  text-decoration: none;
}
footer a:hover { color: #aaa; }
/* CREEPY STATIC FLASH ON MOUSE MOVE / TAP */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://files.catbox.moe/heavy-static.gif');
  background-size: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
  z-index: 99999;
}
body.glitching::after { opacity: 0.7; }

/* trigger the flash */