
:root {
  --uv: #0DD99F;
  --bg: #020403;
  --panel-bg: rgba(10, 25, 22, 0.85);
  --border: #0DD99F;
}


* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--uv);
  font-family: 'JetBrains Mono', monospace;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0,255,0,0.05) 2px,
      rgba(0,0,0,0.25) 8px,
      rgba(0,0,0,0) 6px
    ),
    radial-gradient(circle at center, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 1000;
}


.terminal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  z-index: 1;
}


.ascii-title {
  font-size: 14px;
  line-height: 1.1;
  margin-bottom: 32px;
  white-space: pre;
  text-shadow:1px 1px 50px #0DD99F
}


.terminal-line {
  margin-bottom: 24px;
  opacity: 0.8;
}


.panel {
  border: 1px solid var(--border);
  background: var(--panel-bg);
  padding: 24px;
  margin-bottom: 32px;
}


.block {
  margin-top: 16px;
}


h2 {
  margin-top: 0;
  font-size: 16px;
  letter-spacing: 1px;
}


label {
  display: block;
  margin: 8px 0;
  cursor: pointer;
}


input[type="number"] {
  width: 80px;
  margin-left: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--uv);
  padding: 4px;
}


.total .price {
  font-size: 28px;
  margin-top: 8px;
}

.note {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 12px;
}


.hidden {
  display: none;
}


.submit-panel {
  text-align: center;
}

.submit-btn {
  background: transparent;
  color: var(--uv);
  border: 1px solid var(--border);
  padding: 14px 24px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  text-shadow:1px 1px 50px #0DD99F;
  transition: background 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  background: rgba(57, 255, 182, 0.08);
  box-shadow: 0 0 12px rgba(57, 255, 182, 0.25);
}




.submit-status {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.85;
  animation: blink 1.2s steps(2) infinite;
  text-shadow:1px 1px 50px #0DD99F;
}


@keyframes blink {
  50% {
    opacity: 0.2;
  }
}


.submit-status.success {
  animation: none;
  opacity: 1;
}

#startup {
  white-space: pre-wrap;
  line-height: 1.6;
  opacity: 0.9;
}



@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.startup-screen {
  position: fixed;
  top: 200px;        
  left: 200px;       
  right: 0;
  bottom: 0;
  background: #020403;
  color: #0DD99F;
  text-shadow:1px 1px 50px #0DD99F;
  font-family: 'JetBrains Mono', monospace;
  padding: 20px;
  white-space: pre-wrap;
  line-height: 1.6;
  z-index: 9999;
  opacity: 1;        
  transition: opacity 1s ease; 
}


.fade-out {
  opacity: 0;
}


.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

textarea {
  width: 100%;
  margin-top: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--uv);
  padding: 8px;
  text-shadow:1px 1px 50px #0DD99F;
  font-family: inherit;
  resize: vertical;
}

input[type="file"] {
  margin-top: 6px;
  color: var(--uv);
  font-family: inherit;
}

.info {
  display: inline-block;
  margin-left: 6px;
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  text-shadow:1px 1px 50px #0DD99F;
  text-align: center;
  line-height: 14px;
  font-size: 15px;
  cursor: pointer;
  opacity: 0.7;
}

.info:hover {
  opacity: 1;
}

.tooltip {
  position: fixed;
  max-width: 320px;
  background: rgba(5, 15, 12, 0.95);
  border: 1px solid var(--border);
  color: var(--uv);
  padding: 10px;
  font-size: 12px;
  z-index: 999;
  text-shadow:1px 1px 50px #0DD99F;
  pointer-events: none;
}

.link {
  text-decoration: underline;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 3, 0.85);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal:not(.hidden) {
  display: flex;
}

.modal-content {
  width: 80%;
  max-width: 700px;
  max-height: 80%;
  overflow: auto;
  border: 1px solid var(--border);
  background: var(--panel-bg);
  padding: 24px;
}

.tos-text {
  white-space: pre-wrap;
  font-size: 12px;
  margin-bottom: 24px;
  text-shadow:1px 1px 50px #0DD99F;
}

.ascii-background {
  position: absolute;
  inset: 0;
  pointer-events: none; 
  z-index: 0;
}


.ascii-spider {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  white-space: pre;
  color: rgba(13, 217, 159, 0.199); 
  font-size: 30px;
  line-height: 1.1;
  user-select: none;
  text-shadow:1px 1px 50px #0dd99f27;

}


.spider-1 {
  top: 120px;
  left: 40px;
  transform: rotate(20deg);
}

.spider-2 {
  bottom: 200px;
  right: 60px;
  transform: rotate(-30deg);
}




