
/* 🌌 Base Layout */
body {
  background-color: #0e0e0e;
  color: #e0e0e0;
  font-family: 'Fira Code', monospace;
  padding: 2rem;
  margin: 0;
  transition: opacity 2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* 🕯️ Fade-Out Ritual */
body.fade-out {
  opacity: 0;
}

/* 🧱 Code Block Styling */
.code-block {
  background-color: #1e1e1e;
  padding: 1.5rem;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  margin: 1rem auto;
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Fira Code', monospace;
  white-space: pre-wrap;
}

/* 🎨 Syntax Highlighting */
.comment {
  color: #888;
  font-style: italic;
}

.keyword {
  color: #c586c0;
}

.variable {
  color: #9cdcfe;
}

.function {
  color: #dcdcaa;
}

.string {
  color: #ce9178;
}

/* 🧮 Optional Extras */
.number {
  color: #b5cea8;
}

.operator {
  color: #d4d4d4;
}

/* 🧾 Input Section */
.input-section {
  margin-top: 20px;
  font-family: 'Fira Code', monospace;
  color: #e0e0e0;
  text-align: center;
}

.input-section label {
  font-size: 0.8rem;
  color: #e0e0e0;
  margin-bottom: 8px;
  display: inline-block;
}

/* ⌨️ Terminal-Like Input Field */
input[type='text'] {
  background-color: #000;
  color: #ffffff;
  border: 1px solid rgba(78, 205, 196, 0.2);
  padding: 0.5rem 1rem;
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  width: 100%;
  max-width: 600px;
  caret-color: #ffffff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  border-radius: 4px;
}

input[type='text']:focus {
  outline: none;
  border-color: rgba(78, 205, 196, 0.5);
  box-shadow: 0 0 10px rgba(78, 205, 196, 0.2);
}

/* 📤 Terminal Output */
.terminal-output {
  margin-top: 1rem;
  background-color: #000000;
  padding: 1rem;
  font-size: 0.7rem;
  color: #ffffff;
  border-radius: 4px;
  width: 100%;
  max-width: 600px;
  white-space: pre-wrap;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 120px;
  align-items: flex-start;
}

/* 🎛️ Button Group */
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* 🧪 Ritual Button */
button {
  background-color: #333;
  color: #e0e0e0;
  border: none;
  padding: 0.4rem 0.8rem;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #555;
  transform: scale(1.05);
}

/* ✨ Glowing Animation */
@keyframes pulseGlow {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}

.glow {
  animation: pulseGlow 1.5s infinite;
}

/* ⚡ Flicker Animation */
@keyframes flicker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

.flicker {
  animation: flicker 0.3s infinite;
}

/* ✅ Success Glow */
.success {
  color: #ffffff;
  font-weight: bold;
  animation: pulseGlow 1.5s infinite;
}

/* 🧭 Headings */
h1 {
  font-size: 2em;
  color: #e0e0e0;
  margin-bottom: 1rem;
  text-align: center;
}

p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 600px;
  margin-bottom: 2rem;
}

