@font-face {
  font-family: minecraft;
  src: url(/fonts/minecraft.otf);
}

.site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #222;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  font-weight: bold;
  font-family: 'minecraft';
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.copyright {
  letter-spacing: 1px;
}

.online-counter {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #fff;
  order: 1; 
}

.view-counts {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem 1rem; 
  border: 1px solid #fff; 
  border-radius: 5px; 
  background-color: #444; 
  transition: background-color 0.2s;
  order: 2; 
  align-items: center; 
}

.view-counts:hover {
  background-color: #555; 
}

@media (min-width: 600px) {
  .footer-container {
    justify-content: space-between; 
    align-items: center;
  }

  .copyright {
    position: static;
    margin: 0 auto;
  }

  .online-counter {
    margin-top: 0;
    position: absolute;
    left: 12px;
  }

  .view-counts {
    flex-direction: column; 
    align-items: flex-end; 
    gap: 4px;
    position: absolute;
    right: 12px;
  }
}

@media (max-width: 599px) {
  .footer-container {
    flex-direction: column;
  }

  .online-counter {
    margin-top: 8px;
    order: 1; 
  }

  .copyright {
    order: 0;
  }

  .view-counts {
    order: 2; 
    margin-top: 8px; 
    flex-direction: column;
    align-items: center; 
  }
}
