body {
  font-family: papyrus, fantasy;
  background: #AEE6AC;
  color: black;
  text-align: center;
  user-select: none;
  margin: 0;
  padding: 0;
}

h1 { margin-top: 20px; }

#game-area { display: flex; flex-direction: column; align-items: center; }

#pyramid { position: relative; width: 600px; height: 500px; margin-top: 20px; }

.pyramid-card,
.card {
  position: absolute;
  width: 60px;
  height: 90px;
  cursor: grab;
  border-radius: 5px;
  transition: transform 0.2s ease, border 0.2s ease;
}

.pyramid-card.highlight,
.card.highlight { border: 2px solid yellow; }

#stock-waste {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 50px;
}

#foundation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  pointer-events: none; /* foundation is informational only */
}
#foundation img { pointer-events: none; }

#foundation {
  width: 120px;
  height: 120px;
  position: relative;
  margin-top: 20px;
}

#foundation img {
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}



#stock, #waste {
  width: 60px;
  height: 90px;
  border: 2px dashed rgba(255,255,255,0.5);
  background-color: rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.reset-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid white;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 20px;
}
.reset-btn:hover { background: rgba(255,255,255,0.4); }

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  background-color: #0f4d1c;
  padding: 0;
}

.navbar a,
.dropbtn {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  font-size: 16px;
  display: block;
  border: none;
  background-color: #0f4d1c;
  cursor: pointer;
}

/* Hover effects */
.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #145d26;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #0f4d1c;
  min-width: 160px;
  z-index: 1;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #1b7032;
}

/* Footer */
footer {
  text-align: center;
  padding: 10px;
  background-color: #0f4d1c;
  color: white;
  margin-top: 20px;
}