body {
  background-color: #060037;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  font-family: "Consolas", monospace;
}

.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-title {
  color: white;
  text-align: center;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

canvas {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 4px 4px 0 0;
  display: block;
}

.dashboard {
  background: #333;
  color: white;
  padding: 20px;
  width: 800px;
  box-sizing: border-box;
  border-radius: 0 0 8px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-top: 1px solid #444;
}

.stat-box {
  background: #444;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.control-box {
  background: #2c3e50;
  padding: 15px;
  border-radius: 6px;
  grid-column: span 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

h4 {
  margin: 0 0 5px 0;
  color: #aaa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.val {
  font-size: 18px;
  font-weight: bold;
  color: #4caf50;
}
.sub-val {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

/* Input Styling */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
label {
  font-size: 13px;
  color: #ddd;
  font-weight: bold;
}

input[type="number"] {
  padding: 6px;
  border-radius: 4px;
  border: none;
  width: 80px;
  text-align: center;
  font-weight: bold;
}
input[type="range"] {
  width: 120px;
  cursor: pointer;
}

select {
  padding: 7px;
  border-radius: 4px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

button {
  padding: 10px 20px;
  cursor: pointer;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 1px;
  width: 150px;
  transition: background 0.2s;
}
button:hover {
  background: #c0392b;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-box {
  background: #2c3e50;
  border: 2px solid #2ecc71;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 400px;
  box-shadow: 0 0 30px rgba(46, 204, 113, 0.5);
  color: white;
}

.modal-box h2 {
  margin-top: 0;
  color: #2ecc71;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #444;
  padding: 8px 0;
  font-size: 14px;
}

.modal-btn {
  background: #2ecc71;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
  transition: 0.2s;
}

.modal-btn:hover {
  background: #27ae60;
}

.intro-box {
  width: 700px;
  text-align: left;
  max-width: 90%;
}

.intro-content {
  color: #ddd;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 20px;
}

.intro-content h3 {
  color: #2ecc71;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
  margin-top: 15px;
}

.intro-content ul {
  list-style-type: square;
  padding-left: 20px;
}

.intro-content li {
  margin-bottom: 5px;
}
