body {
  margin: 0;
  padding: 0;
  background: url("mainbg.png") repeat;
  background-size: 100px 100px;
  animation: scrollBackground 2s linear infinite;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
}

@keyframes scrollBackground {
  from { background-position: 0 0; }
  to { background-position: 0 100px; }
}

/* Header */
.header-bar {
  background-color: black;
  border-bottom: 5px solid white;
  padding: 10px;
}

.header-bar button {
  background: none;
  border: 2px solid white;
  color: white;
  padding: 8px 16px;
  margin: 0 5px;
  cursor: pointer;
  font-size: 16px;
}

.header-bar button:hover {
  background: white;
  color: black;
  transition: 0.3s;
}

/* Content box */
.content-box {
  background-color: black;
  border: 5px solid white;
  border-top: none;
  margin: 20px auto 0 auto;
  padding: 20px;
  max-width: 700px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Changelog box */
.changelog-box {
  background-color: black;
  border: 5px solid white;
  margin: 20px auto;
  padding: 20px;
  max-width: 700px;
  text-align: left;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.changelog-box h2 {
  text-align: center;
  margin-bottom: 15px;
}

/* Each update */
.update {
  margin-bottom: 15px;
  border-bottom: 1px solid white;
  padding-bottom: 10px;
}

.update-header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: bold;
}

.update-details {
  list-style-type: disc;
  margin: 10px 0 0 20px;
  padding: 0;
  display: none;
}

.update-details.show {
  display: block;
}

.arrow {
  font-size: 18px;
}

/* Error Page Styling */
.error-page {
  background: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Scrolling red text */
.scrolling-text {
  position: absolute;
  top: 50px;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: red;
  font-size: 2.5em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scrolling-text span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-text 10s linear infinite;
}

@keyframes scroll-text {
  from { transform: translateX(0%); }
  to { transform: translateX(-100%); }
}

/* Vertical shake with ghost afterimages */
.shake {
  animation: shakeY 0.2s infinite;
  filter: drop-shadow(0 3px 2px rgba(255, 0, 0, 0.5))
          drop-shadow(0 -3px 2px rgba(255, 255, 255, 0.3));
}

@keyframes shakeY {
  0% { transform: translateY(0); }
  25% { transform: translateY(-5px); }
  50% { transform: translateY(5px); }
  75% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

@keyframes shakeX {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}
