body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #0b3d0b 0%, #1b5e20 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
#jungle-bg {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}
#trees-bg {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
}
.main-header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 48px 20px 24px 20px;
  color: #fff;
  background: transparent;
}
.main-header h1 {
  font-size: 2.5rem;
  margin: 0 0 8px 0;
  letter-spacing: 2px;
  text-shadow: 0 2px 24px #fff8, 0 0 8px #43a04799;
  animation: popIn 1.2s cubic-bezier(.77,0,.18,1) both;
}
.subtitle {
  font-size: 1.2rem;
  color: #a5d6a7;
  margin-bottom: 0;
  letter-spacing: 1px;
  animation: fadeIn 1.5s 0.3s both;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.project {
  background: rgba(180,180,190,0.22);
  border-radius: 18px;
  box-shadow: 0 4px 24px #388e3c22;
  margin: 32px auto 24px auto;
  max-width: 900px;
  padding: 32px 24px 18px 24px;
  color: #f7f7f7;
  position: relative;
  z-index: 5;
}
.project h2 {
  color: #e0ffef;
}
.search-controls, .sim-controls, .expr-controls {
  display: flex;
  gap: 12px;
  margin: 18px 0 12px 0;
  flex-wrap: wrap;
}
input[type="text"] {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #388e3c;
  font-size: 1rem;
  background: #e0ffef;
  color: #0b3d0b;
}
button {
  background: linear-gradient(90deg, #388e3c 0%, #43a047 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #388e3c33;
  transition: background 0.2s, transform 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #43a047 0%, #388e3c 100%);
  transform: scale(1.08);
}
pre {
  background: #e0ffef;
  color: #0b3d0b;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  overflow-x: auto;
}
.sim-visuals {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 18px;
}
.sim-visuals h3 {
  color: #e0ffef;
  margin-bottom: 8px;
}
.sim-visuals ul {
  list-style: none;
  padding: 0;
  min-width: 80px;
}
.sim-visuals li {
  background: #e0ffef;
  color: #0b3d0b;
  margin: 4px 0;
  padding: 8px 0;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 1px 4px #388e3c22;
  transition: transform 0.2s;
}
.sim-visuals li:hover {
  transform: scale(1.07);
  background: #66bb6a;
}
#treeVisual {
  margin-top: 18px;
  min-height: 60px;
}
footer {
  text-align: center;
  color: #fff;
  background: transparent;
  padding: 32px 0 18px 0;
  font-size: 1.1rem;
  letter-spacing: 1px;
  z-index: 10;
  position: relative;
}
@media (max-width: 900px) {
  .project {
    padding: 12px 4px 8px 4px;
  }
  .sim-visuals {
    flex-direction: column;
    gap: 18px;
  }
}
