/* Header Styling */
.studio-header {
  background-color: #111;
  padding: 20px;
  border-bottom: 2px solid #00ff00;
}

.logo {
  width: 160px;
  display: block;
  margin-bottom: 10px;
}

/* Toggle Button */
#menu-toggle {
  background-color: #222;
  color: #00ff00;
  border: 2px solid #00ff00;
  padding: 8px 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 0 6px lime;
  margin-bottom: 10px;
  font-family: 'Minecraftia', sans-serif;
}

/* Pull-Down Menu Animation */
#pull-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
  background-color: #1a1a1a;
  border: 2px solid #00ff00;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
}

/* When menu is open */
#pull-menu.open {
  max-height: 1000px; /* large enough to fit all items */
  opacity: 1;
}

/* Inventory Grid Styling */
#pull-menu ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#pull-menu li {
  background-color: #222;
  border: 2px solid #444;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
  box-shadow: inset 0 0 4px #000;
}

#pull-menu a {
  color: #ff4444;
  font-weight: bold;
  text-decoration: none;
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

#pull-menu a:hover {
  background-color: #333;
  color: #ffcc00;
  text-shadow: 0 0 8px #ffcc00;
}

#piston-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
#piston-menu.open {
  max-height: 1000px;
  overflow: visible;
}