body {
  margin: 0;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  color: #fff;
  background: black;
  cursor: url('https://cur.cursors-4u.net/anime/ani-11/ani1057.cur'), auto;
  overflow-x: hidden;
}

#bg-animation {
  background-image: url('https://i.gifer.com/ZKZg.gif');
  background-size: cover;
  background-repeat: repeat;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0.2;
}

header {
  padding: 2rem;
  text-align: center;
  background-color: #111;
  border-bottom: 3px dashed lime;
}

.glitchy {
  font-size: 3rem;
  animation: glitch 1s infinite;
}

@keyframes glitch {
  0% { text-shadow: 2px 2px red; }
  50% { text-shadow: -2px -2px blue; }
  100% { text-shadow: 2px 2px lime; }
}

main {
  padding: 2rem;
}

section {
  margin-bottom: 3rem;
}

button {
  padding: 1rem;
  font-size: 1.2rem;
  background-color: magenta;
  border: none;
  color: white;
  cursor: pointer;
}

.lore-entry {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  margin-top: 0.5rem;
  border-left: 4px solid cyan;
}

.popup-ad {
  padding: 1rem;
  background-color: yellow;
  color: black;
  font-weight: bold;
  animation: pop 2s infinite alternate;
  margin-top: 1rem;
}

@keyframes pop {
  from { transform: scale(1); }
  to { transform: scale(1.05) rotate(1deg); }
}

.typewriter {
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid lime;
  width: 0;
  animation: typing 4s steps(40, end) forwards;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

.frog, .ufo {
  position: fixed;
  width: 80px;
  z-index: 999;
  animation: floaty 10s linear infinite;
}

.frog {
  bottom: 10px;
  left: 5%;
}

.ufo {
  top: 20px;
  right: 5%;
}

@keyframes floaty {
  0% { transform: translateX(0); }
  50% { transform: translateX(100px); }
  100% { transform: translateX(0); }
}
