body {
  --panel-opacity: 0.08;
  --glow-color: rgba(97, 207, 90, 0.08);
  --accent-color: #61cf5a;
  --border-color: rgba(97, 207, 90, 0.4);
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0d0d0d;
  color: #eee;
  overflow-x: hidden;
}

#tsparticles {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header h1 {
  text-align: center;
  color: var(--accent-color);
  font-size: 2.5em;
  text-shadow: 0 0 10px var(--accent-color);
}

.controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.controls button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: var(--accent-color);
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.main-panel {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.canvas-area {
  width: 600px;
  height: 500px;
  background-color: rgba(34, 34, 34, var(--panel-opacity));
  backdrop-filter: blur(4px);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 10px var(--glow-color);
  position: relative;
  overflow: hidden;
}

.schema-panel {
  min-width: 300px;
  background-color: rgba(30, 30, 30, var(--panel-opacity));
  backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 1rem;
  color: #eee;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 10px var(--glow-color);
}

.entity {
  position: absolute;
  padding: 10px;
  background: #222;
  color: #fff;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  cursor: move;
  font-size: 0.95rem;
  text-align: center;
}
