html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden; 
  font-family: 'Courier New', Courier, monospace; 
}

/* CRT Scanline overlay */
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none; 
  z-index: 999; 
}

/* Canvas sits behind UI */
#p5-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

/* UI Wrapper: Title Top, Desc Bottom */
.main-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none; /* Let clicks pass to canvas */
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  align-items: center;
}

h1 {
  font-weight: lighter;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(80, 250, 123, 0.5); 
  color: #e0e0e0;
  margin-top: 30px; 
  font-size: 24px;
  text-align: center;
  pointer-events: auto;
}

.description {
  color: #888;
  font-size: 14px;
  max-width: 600px;
  text-align: center;
  margin-bottom: 30px; 
  background: rgba(0, 0, 0, 0.6); 
  padding: 10px;
  border-radius: 5px;
  pointer-events: auto;
}

/* Input Group: Centered */
.input-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  pointer-events: auto; 
  z-index: 20;
}

.my-input {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-bottom: 1px solid #50fa7b; 
  color: #50fa7b;
  padding: 10px;
  font-family: 'Courier New', Courier, monospace;
  outline: none;
  font-size: 18px;
  width: 320px; 
}

.my-input::placeholder {
  color: rgba(80, 250, 123, 0.5);
  font-style: italic;
  font-size: 14px;
}

.my-btn {
  background: transparent;
  color: #bd93f9;
  border: 1px solid #bd93f9;
  padding: 10px 20px;
  font-family: 'Courier New', Courier, monospace;
  cursor: pointer;
  margin-left: 15px;
  font-size: 16px;
}

.my-btn:hover {
  background: rgba(189, 147, 249, 0.2);
}

.pay-btn {
  background: red;
  color: white;
  border: 2px solid white;
  padding: 20px;
  font-size: 20px;
  font-family: 'Courier New', Courier, monospace;
  cursor: pointer;
  animation: blink 0.5s infinite;
  position: fixed; 
  z-index: 2147483647; 
  transform: translate(-50%, 0);
  display: none;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}