body {
  margin: 0;
  background: #020617;
  color: white;
  font-family: Arial, sans-serif;
}

/* Loader screen */
.tx-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #020617;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  animation: hideLoader 4s forwards;
}

/* Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #1e293b;
  border-top: 6px solid #22c55e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

/* Success screen */
.tx-success {
  opacity: 0;
  text-align: center;
  animation: showSuccess 4s forwards;
}

/* Animations */
@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes hideLoader {
  0% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes showSuccess {
  0% { opacity: 0; }
  90% { opacity: 0; }
  100% { opacity: 1; }
}