/* General Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

/* Background Effects */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
}

.container {
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px red, 0 0 20px red;
}

header p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-shadow: 0 0 5px limegreen;
}

.cmd-window {
  background: black;
  color: limegreen;
  padding: 20px;
  border-radius: 10px;
  height: 200px;
  overflow-y: auto;
  margin: 20px 0;
  position: relative;
}

.cmd-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 255, 0, 0.1) 10px,
    rgba(0, 255, 0, 0.1) 20px
  );
  pointer-events: none;
  z-index: 1;
}

.wallet-input input {
  padding: 10px;
  width: 300px;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.wallet-input button {
  padding: 10px 20px;
  background: #ff5722;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.wallet-input button:hover {
  background: #e64a19;
  transform: scale(1.05);
}

.withdraw-section {
  margin-top: 20px;
}

#withdraw-btn {
  padding: 10px 20px;
  background: #ff9800;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: not-allowed;
  transition: transform 0.2s ease;
}

#withdraw-btn:enabled {
  background: #f57c00;
  cursor: pointer;
}

#withdraw-btn:enabled:hover {
  transform: scale(1.05);
}

footer {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Live Withdrawals Section */
.live-withdrawals {
  margin: 20px 0;
  text-align: center;
}

.live-withdrawals h2 {
  margin-bottom: 10px;
}

#withdrawal-list {
  list-style-type: none;
  padding: 0;
  max-height: 150px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
}

#withdrawal-list li {
  margin: 5px 0;
  font-size: 0.9rem;
}

#withdrawal-list li span {
  margin-left: 10px;
}

#withdrawal-list li.success {
  color: limegreen;
}

#withdrawal-list li.processing {
  color: orange;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: #1e1e1e;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  text-align: center;
  color: white;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 10px;
}

.modal-content p {
  margin-bottom: 20px;
}

#qrcode-image {
  max-width: 150px;
  margin: 20px auto;
}

.modal-content button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#confirm-payment {
  background: #4caf50;
  color: white;
}

#confirm-payment:hover {
  background: #43a047;
  transform: scale(1.05);
}

#cancel-payment {
  background: #f44336;
  color: white;
}

#cancel-payment:hover {
  background: #e53935;
  transform: scale(1.05);
}