body {
  background: #1b1b00;
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  margin: 0;
  padding: 10px;
 font-family: "Averia Sans Libre", sans-serif;
  
}

h1 {
  justify-content: center;
  font-family: 'VT323', monospace;
  font-size: 32px;
  color: #33ff33;
  text-shadow: 0 0 5px #00ff00;
  animation: flicker 2s infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 24%, 55% { opacity: 0.4; }
}

.averia-sans-libre-regular {
  font-family: "Averia Sans Libre", sans-serif;
  font-weight: 400;
  font-style: normal;
}


h1, h2 {
  font-family: "VT323", monospace;
}
a {
  color: #00ff00;
  text-decoration: underline dotted;
}

a:hover {
  color: #33ff33;
  text-decoration: underline solid;
}

.product {
  border: 1px solid #555533;
  padding: 10px;
  margin: 10px 0;
  background: #2e2b1f;
  box-shadow: inset 0 0 5px #000;
}

button {
  background: #2e2b1f;
  border: 1px solid #00ff00;
  color: #00ff00;
  padding: 5px 10px;
  cursor: pointer;
}

button:hover {
  background: #1b1b00;
  color: #33ff33;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(27,27,0,0.95);
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  overflow: auto;
  z-index: 1000;
}

.modal-content {
  margin: 10% auto;
  padding: 20px;
  width: 70%;
  border: 2px solid #555533;
  background: #2e2b1f;
  box-shadow: inset 0 0 5px #000;
  white-space: pre-wrap;
}

.close {
  float: right;
  font-size: 30px;
  cursor: pointer;
}
.close:hover {
  color: #33ff33;
}

/* CRT Scanlines */
body::after {
  content: "";
  position: fixed;
  top:0; left:0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    rgba(255,255,255,0.02) 0 1px,
    transparent 1px 2px
  );
  pointer-events: none;
}
.modal {
  display: none; 
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-height: 60%;
  background-color: #2e2b1f;
  border: 2px solid #555533;
  box-shadow: 0 0 10px #000 inset;
  overflow-y: auto; /* scroll vertically if needed */
  overflow-x: hidden; /* prevent horizontal scrolling */
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  padding: 15px;
  z-index: 1000;
}

.modal-content pre {
  white-space: pre-wrap; /* wrap long lines */
  word-wrap: break-word; /* break long words if needed */
  margin: 0;
}

.modal-content p {
  margin-top: 10px;
  font-family: 'VT323', monospace;
  cursor: pointer;
  color: #00ff00;
}
hr.crt {
  border: none;                  /* remove default line */
  height: 2px;                   /* thickness of the line */
  background: linear-gradient(90deg, #22c55e, rgb(205, 255, 198), #22c55e); /* neon gradient */
  box-shadow: 0 0 8px #22c55e, 0 0 16px rgb(243, 16, 16); /* glow effect */
  margin: 20px 0;                /* spacing above/below */
  border-radius: 4px;             /* rounded edges */
  animation: flicker 2s infinite alternate; /* optional flicker animation */
}

/* Flickering neon effect */
@keyframes flicker {
  0% { opacity: 0.8; box-shadow: 0 0 6px #22c55e, 0 0 12px rgb(0, 255, 64); }
  50% { opacity: 1; box-shadow: 0 0 10px #22c55e, 0 0 20px rgb(56, 255, 16); }
  100% { opacity: 0.85; box-shadow: 0 0 8px #22c55e, 0 0 16px rgb(51, 255, 0); }
}
