/* ---------- Global Styles ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Press Start 2P', monospace;
}

body {
  background: linear-gradient(135deg, #1e1e2f, #000000);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 20px;
  background-image: url('Background.png');
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
  background-color: linear-gradient(135deg, #1e1e2f, #000000);
}

/* ---------- Loading Screen ---------- */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  flex-direction: column;  /* <- stack items vertically */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

#loading-gif {
  width: 150px;
  height: 150px;
}

#loading-text {
  margin-top: 20px;   /* space below the gif */
  color: #f6b366;
  font-family: 'Press Start 2P', monospace;
  text-align: center;
  font-size: 1.7rem;
  font-style: italic;
  letter-spacing: 1.5px; /* increase spacing between letters */
}

@keyframes wave {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-7.5px); }
}

#loading-text span {
  display: inline-block;
  animation-name: wave;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards; /* keeps final state */
}



/* ---------- Container ---------- */
.container-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.container {
  background: rgba(0, 0, 0, 0.7);
  border: 3px solid #f0c674;
  border-radius: 8px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* ---------- Header ---------- */
h1 {
  font-size: 1.5rem;
  color: #f0c674;
  text-align: center;
  margin-bottom: 20px;
}
p {
  text-align: center;
}
/* ---------- Wallet Status ---------- */
.wallet-status {
  font-size: 0.9rem;
  padding: 6px 10px;
  border: 2px solid #f0c674;
  border-radius: 4px;
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
}

/* ---------- Buttons ---------- */
button {
  background: #f0c674;
  color: #1e1e2f;
  border: 2px solid #f0c674;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  background: #e0b15b;
  transform: scale(1.05);
}

/* ---------- Donation Buttons ---------- */
.donation-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 500px) {
  .container {
    padding: 20px;
  }

  button {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  h1 {
    font-size: 1.2rem;
  }
}
