* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Fira Code', monospace;
  background: radial-gradient(circle at center, #0f0f0f, #000);
  color: #33ff33;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 800px;
  width: 100%;
  text-align: center;
}
.terminal {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
  margin-bottom: 20px;
}
.title-bar {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #333;
}
.dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  margin-right: 6px;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.title {
  color: #aaa;
  font-size: 14px;
  margin-left: auto;
}
.code {
  text-align: left;
  padding: 20px;
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.6;
  min-height: 300px;
  color: #33ff33;
}

/* === Buttons === */
.buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}
.glow-btn, .run-btn {
  background: transparent;
  border: 2px solid #B03060;
  padding: 12px 24px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}
.glow-btn:hover, .run-btn:hover {
  background: #B03060;
  box-shadow: 0 0 20px #ff2d95, 0 0 40px #ff2d95;
  transform: scale(1.05);
}

/* === Modal === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(10, 10, 10, 0.96);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
}
.hidden {
  display: none;
}
.modal-box {
  background: #111;
  border: 2px solid #0f0;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 0 30px #0f0;
  overflow: hidden;
}
.modal-header {
  background: #222;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  color: #0f0;
  font-weight: bold;
}
.close-btn {
  background: none;
  border: none;
  color: #f55;
  font-size: 22px;
  cursor: pointer;
}
.output-area {
  padding: 20px;
  color: #33ff33;
  font-size: 16px;
  white-space: pre-wrap;
  line-height: 1.6;
  min-height: 200px;
}

/* === Footer === */
footer {
  margin-top: 30px;
  font-size: 14px;
  color: #666;
  text-shadow: 0 0 5px #0f0;
}
