:root {
  --background: #07090c;
  --text-primary: #e8eefc;
}

body {
  background: var(--background);
  margin: 0;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: absolute;
  top: 0;
  /*width: 280px;*/
  width: 330px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body::before { left: 0; }
body::after  { right: 0; }

a {
  color: var(--text-primary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.btn{
  display: flex;   
  align-items: center;
  gap: 0.5rem;

  padding: 0.7rem 1rem;
  border-radius: 5px;

  color: #fff;
  text-decoration: none;
  font-weight: bold;

  transition: background-color 0.3s ease;
}

.btn.discord{
  background-color: #5865F2;
}

.btn.discord:hover{
  background-color: #4752C4;
}

.side-img {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  opacity: 0.62;
  /*animation: sideImgFloat 4s ease-in-out infinite;*/
}

.side-img:nth-of-type(1) { animation-delay: 0s;      animation-duration: 4.0s; }
.side-img:nth-of-type(2) { animation-delay: -1.3s;   animation-duration: 4.6s; }
.side-img:nth-of-type(3) { animation-delay: -2.7s;   animation-duration: 3.8s; }
.side-img:nth-of-type(4) { animation-delay: -0.6s;   animation-duration: 4.3s; }
.side-img:nth-of-type(5) { animation-delay: -2.0s;   animation-duration: 5.0s; }
.side-img:nth-of-type(6) { animation-delay: -3.4s;   animation-duration: 4.2s; }

@keyframes sideImgFloat {
  0%   { transform: translateY(0px);   }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px);   }
}

@media (max-width: 1300px) {
  .side-img {
    opacity: 0.45;
  }
}

@media (max-width: 1000px) {
  .side-img {
    display: none;
  }
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}

.error-page h1 {
  font-size: 2rem;
  margin: 0;
}

.error-page p {
  color: #aab0c4;
  font-size: 1.1rem;
  margin: 0;
}

.btn-back {
  margin-top: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  background-color: #1e2330;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #2e3550;
  transition: background-color 0.2s ease;
}

.btn-back:hover {
  background-color: #2a3045;
}
